This repository was archived by the owner on Sep 14, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +28
-25
lines changed Expand file tree Collapse file tree 4 files changed +28
-25
lines changed Original file line number Diff line number Diff line change 1+ name : build
2+ on : [pull_request]
3+ jobs :
4+ build :
5+ runs-on : ubuntu-latest
6+ steps :
7+ - uses : actions/checkout@v3
8+ - uses : actions/setup-node@v3
9+ with :
10+ node-version-file : ' .nvmrc'
11+ - run : npm ci
12+ - run : npm run build
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ name : lint
2+ on : [pull_request]
3+ jobs :
4+ lint :
5+ runs-on : ubuntu-latest
6+ steps :
7+ - uses : actions/checkout@v3
8+ - uses : actions/setup-node@v3
9+ with :
10+ node-version-file : ' .nvmrc'
11+ - run : npm ci
12+ - run : npm run lint
Original file line number Diff line number Diff line change 11name : test
2- on :
3- pull_request :
4- branches : [ master ]
2+ on : [pull_request]
53jobs :
64 test :
75 runs-on : ubuntu-latest
8- strategy :
9- matrix :
10- node-version : [16.11.1]
116 steps :
12- - uses : actions/checkout@v2
13- - name : Use Node.js ${{ matrix.node-version }}
14- uses : actions/setup-node@v2
7+ - uses : actions/checkout@v3
8+ - uses : actions/setup-node@v3
159 with :
16- node-version : ${{ matrix.node-version }}
10+ node-version-file : ' .nvmrc '
1711 - run : npm ci
18- - run : npm run build --if-present
1912 - run : npm test
You can’t perform that action at this time.
0 commit comments