File tree 2 files changed +7
-7
lines changed
2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 15
15
node-version : [16.x, 18.x, 20.x, 21.x]
16
16
17
17
steps :
18
- - uses : actions/checkout@v2
18
+ - uses : actions/checkout@v4
19
19
- name : use Node.js ${{ matrix.node-version }}
20
- uses : actions/setup-node@v2
20
+ uses : actions/setup-node@v4
21
21
with :
22
22
node-version : ${{ matrix.node-version }}
23
23
- run : npm install
32
32
- run : npm run build
33
33
- run : npm run test-ci
34
34
- name : coveralls
35
- uses : coverallsapp/github-action@master
35
+ uses : coverallsapp/github-action@v2
36
36
with :
37
37
github-token : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 8
8
publish-npm :
9
9
runs-on : ubuntu-latest
10
10
steps :
11
- - uses : actions/checkout@v2
12
- - uses : actions/setup-node@v2
11
+ - uses : actions/checkout@v4
12
+ - uses : actions/setup-node@v4
13
13
with :
14
14
node-version : 18
15
15
registry-url : https://registry.npmjs.org/
16
16
- run : npm install
17
17
- run : git submodule update --init
18
18
- run : npm run test-ci
19
19
- name : Publish beta version to npm
20
- if : " github.event.release.prerelease"
20
+ if : ${{ github.event.release.prerelease }}
21
21
run : npm publish --tag beta
22
22
env :
23
23
NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
24
24
- name : Publish to npm
25
- if : " !github.event.release.prerelease"
25
+ if : ${{ !github.event.release.prerelease }}
26
26
run : npm publish
27
27
env :
28
28
NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
You can’t perform that action at this time.
0 commit comments