File tree Expand file tree Collapse file tree 1 file changed +8
-9
lines changed
Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -5,9 +5,9 @@ name: Node.js CI
55
66on :
77 push :
8- branches : [ master ]
8+ branches : [ "vnext", " master" ]
99 pull_request :
10- branches : [ master ]
10+ branches : [ "vnext", " master" ]
1111
1212jobs :
1313 build :
@@ -20,14 +20,13 @@ jobs:
2020 # See supported Node.js release schedule at https://nodejs.org/en/about/releases/
2121
2222 steps :
23- - uses : actions/checkout@v2
23+ - uses : actions/checkout@v4
2424 - name : Use Node.js ${{ matrix.node-version }}
25- uses : actions/setup-node@v2
25+ uses : actions/setup-node@v4
2626 with :
2727 node-version : ${{ matrix.node-version }}
28- # cache: 'npm' # enable after committing lock file from first install
29- - run : npm i # replace with 'npm ci' after committing lock file from first install
30- # - run: npm run lint
31- - run : npm run build
32- - run : npm run test
28+ cache : ' npm'
29+ - run : npm ci
30+ - run : npm run lint
31+ - run : npm run build --if-present
3332
You can’t perform that action at this time.
0 commit comments