File tree Expand file tree Collapse file tree 2 files changed +10
-16
lines changed Expand file tree Collapse file tree 2 files changed +10
-16
lines changed Original file line number Diff line number Diff line change 66
77jobs :
88 build :
9-
109 runs-on : ubuntu-latest
1110
1211 strategy :
1312 matrix :
1413 node-version : [12.x, 14.x, 16.x]
1514
1615 steps :
17- - uses : actions/checkout@v2
18- - name : Use Node.js ${{ matrix.node-version }}
19- uses : actions/setup-node@v2
20- with :
21- node-version : ${{ matrix.node-version }}
22- cache : npm
23- - name : npm install, build, and test
24- run : |
25- npm ci
26- npm run build --if-present
27- npm test
28- env :
29- CI : true
16+ - uses : actions/checkout@v2
17+ - name : Use Node.js ${{ matrix.node-version }}
18+ uses : actions/setup-node@v2
19+ with :
20+ node-version : ${{ matrix.node-version }}
21+ cache : npm
22+ - name : npm install, build, and test
23+ - run : npm ci
24+ - 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