File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 24
24
steps :
25
25
- uses : actions/checkout@v4
26
26
- name : Use Node.js ${{ matrix.node-version }}
27
- uses : actions/setup-node@v3
27
+ uses : actions/setup-node@v4
28
28
with :
29
29
node-version : ${{ matrix.node-version }}
30
30
cache : ' npm'
Original file line number Diff line number Diff line change 1
1
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
2
2
# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages
3
3
4
- name : Node.js Package
4
+ name : Publish Node.js Package
5
5
6
6
on :
7
7
release :
29
29
node-version : 20
30
30
registry-url : https://registry.npmjs.org/
31
31
- run : npm ci --force
32
- - run : npm run build --if-present
32
+ - run : npm run build --if-present --isNpmBuild
33
33
- run : npm publish
34
34
env :
35
35
NODE_AUTH_TOKEN : ${{secrets.npm_token}}
You can’t perform that action at this time.
0 commit comments