File tree Expand file tree Collapse file tree 1 file changed +24
-24
lines changed Expand file tree Collapse file tree 1 file changed +24
-24
lines changed Original file line number Diff line number Diff line change 33
44name : Node.js CI
55on :
6- push :
7- branches : [ main ]
8- pull_request :
9- branches : [ main ]
6+ push :
7+ branches : [ main ]
8+ pull_request :
9+ branches : [ main ]
1010
1111jobs :
12- build :
13- runs-on : ubuntu-latest
14-
15- steps :
16- - uses : actions/checkout@v2
17-
18- - name : Use Node.js 16.x
19- uses : actions/setup-node@v2
20- with :
21- node-version : 16.x
22- cache : ' npm'
23-
24- - name : Install dependencies
25- run : npm ci
26-
27- - name : Run Build
28- run : npm run build --if-present
29-
30- - name : Run Tests
31- run : npm test
12+ build :
13+ runs-on : ubuntu-latest
14+
15+ steps :
16+ - uses : actions/checkout@v2
17+
18+ - name : Use Node.js 16.x
19+ uses : actions/setup-node@v2
20+ with :
21+ node-version : 16.x
22+ cache : ' npm'
23+
24+ - name : Install dependencies
25+ run : npm ci
26+
27+ - name : Run Build
28+ run : npm run build --if-present
29+
30+ - name : Run Tests
31+ run : npm test
You can’t perform that action at this time.
0 commit comments