File tree Expand file tree Collapse file tree 2 files changed +11
-16
lines changed Expand file tree Collapse file tree 2 files changed +11
-16
lines changed Original file line number Diff line number Diff line change 88
99jobs :
1010 build :
11-
1211 runs-on : ubuntu-latest
1312
1413 strategy :
1514 matrix :
1615 node-version : [12.x, 14.x, 16.x]
1716
1817 steps :
19- - uses : actions/checkout@v2
20- - name : Use Node.js ${{ matrix.node-version }}
21- uses : actions/setup-node@v2
22- with :
23- node-version : ${{ matrix.node-version }}
24- cache : npm
25- - name : npm install, build, and test
26- run : |
27- npm ci
28- npm run build --if-present
29- npm test
30- env :
31- CI : true
18+ - uses : actions/checkout@v2
19+ - name : Use Node.js ${{ matrix.node-version }}
20+ uses : actions/setup-node@v2
21+ with :
22+ node-version : ${{ matrix.node-version }}
23+ cache : npm
24+ - name : Install
25+ run : npm ci
26+ - name : Test
27+ run : npm test
Original file line number Diff line number Diff line change @@ -15,11 +15,10 @@ jobs:
1515 registry-url : https://registry.npmjs.org/
1616 cache : npm
1717 - run : npm ci
18- - run : npm run build --if-present
1918 - run : npm test
2019 - run : npm version ${TAG_NAME} --git-tag-version=false
2120 env :
2221 TAG_NAME : ${{ github.event.release.tag_name }}
2322 - run : npm whoami; npm --ignore-scripts publish
2423 env :
25- NODE_AUTH_TOKEN : ${{secrets.npm_token}}
24+ NODE_AUTH_TOKEN : ${{secrets.npm_token}}
You can’t perform that action at this time.
0 commit comments