File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 1515 node-version : [16.x, 18.x, 20.x, 21.x]
1616
1717 steps :
18- - uses : actions/checkout@v2
18+ - uses : actions/checkout@v4
1919 - name : use Node.js ${{ matrix.node-version }}
20- uses : actions/setup-node@v2
20+ uses : actions/setup-node@v4
2121 with :
2222 node-version : ${{ matrix.node-version }}
2323 - run : npm install
3232 - run : npm run build
3333 - run : npm run test-ci
3434 # - name: coveralls
35- # uses: coverallsapp/github-action@master
35+ # uses: coverallsapp/github-action@v2
3636 # with:
3737 # github-token: ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 88 publish-npm :
99 runs-on : ubuntu-latest
1010 steps :
11- - uses : actions/checkout@v2
12- - uses : actions/setup-node@v2
11+ - uses : actions/checkout@v4
12+ - uses : actions/setup-node@v4
1313 with :
1414 node-version : 18
1515 registry-url : https://registry.npmjs.org/
1616 - run : npm install
1717 - run : git submodule update --init
1818 - run : npm run test-ci
1919 - name : Publish beta version to npm
20- if : " github.event.release.prerelease"
20+ if : ${{ github.event.release.prerelease }}
2121 run : npm publish --tag beta
2222 env :
2323 NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
2424 - name : Publish to npm
25- if : " !github.event.release.prerelease"
25+ if : ${{ !github.event.release.prerelease }}
2626 run : npm publish
2727 env :
2828 NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
You can’t perform that action at this time.
0 commit comments