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 6
6
7
7
jobs :
8
8
build :
9
-
10
9
runs-on : ubuntu-latest
11
10
12
11
strategy :
13
12
matrix :
14
13
node-version : [12.x, 14.x, 16.x]
15
14
16
15
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 : Install
23
+ run : npm ci
24
+ - name : Test
25
+ run : npm test
Original file line number Diff line number Diff line change @@ -15,11 +15,10 @@ jobs:
15
15
registry-url : https://registry.npmjs.org/
16
16
cache : npm
17
17
- run : npm ci
18
- - run : npm run build --if-present
19
18
- run : npm test
20
19
- run : npm version ${TAG_NAME} --git-tag-version=false
21
20
env :
22
21
TAG_NAME : ${{ github.event.release.tag_name }}
23
22
- run : npm whoami; npm --ignore-scripts publish
24
23
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