File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change 6
6
pull_request :
7
7
branches : [ "main" ]
8
8
9
+ permissions :
10
+ contents : read
11
+
9
12
jobs :
10
13
build :
14
+ name : Build and Test
11
15
12
16
runs-on : ubuntu-24.04
13
17
@@ -17,17 +21,18 @@ jobs:
17
21
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
18
22
19
23
steps :
20
- - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
24
+ - name : Checkout Repo
25
+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
21
26
- name : Use Node.js ${{ matrix.node-version }}
22
27
uses : actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
23
28
with :
24
29
node-version : ${{ matrix.node-version }}
25
30
cache : ' npm'
26
- - name : restore dependencies
31
+ - name : Restore dependencies
27
32
run : npm ci
28
- - name : build
33
+ - name : Build
29
34
run : npm run build --if-present
30
- - name : lint
35
+ - name : Lint
31
36
run : npm run lint
32
- - name : test
37
+ - name : Test
33
38
run : npm test
You can’t perform that action at this time.
0 commit comments