File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -18,17 +18,17 @@ jobs:
18
18
publish :
19
19
name : Publish NPM
20
20
permissions :
21
- contents : write
21
+ contents : write
22
22
runs-on : ubuntu-latest
23
23
steps :
24
24
- name : Checkout repo
25
25
uses : actions/checkout@v4
26
26
27
27
- uses : actions/setup-node@v4
28
28
with :
29
- node-version : ' 20 '
30
- cache : ' npm'
31
- registry-url : ' https://registry.npmjs.org'
29
+ node-version : " 20 "
30
+ cache : " npm"
31
+ registry-url : " https://registry.npmjs.org"
32
32
33
33
- name : Install dependencies
34
34
run : npm ci --ignore-scripts
56
56
env :
57
57
NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
58
58
run : |
59
- npm publish --tag "${{ inputs.dist-tag }}"
60
- git tag v$(cat package.json | jq .version -r)
61
- git push origin v$(cat package.json | jq .version -r)
59
+ npm publish --tag "${{ inputs.dist-tag }}"
60
+ git tag v$(cat package.json | jq .version -r)
61
+ git push origin v$(cat package.json | jq .version -r)
You can’t perform that action at this time.
0 commit comments