Skip to content

Commit 443f869

Browse files
committed
Update npm ci
1 parent ec938eb commit 443f869

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

.github/workflows/npm.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Publish to npm
33
on:
44
push:
55
tags:
6-
- 'v*'
6+
- "v*.*.*"
77

88
jobs:
99
publish:
@@ -27,10 +27,8 @@ jobs:
2727
- name: Setup Node.js
2828
uses: actions/setup-node@v4
2929
with:
30-
node-version: '20'
31-
registry-url: 'https://registry.npmjs.org'
30+
node-version: "20"
31+
registry-url: "https://registry.npmjs.org"
3232

3333
- name: Publish to npm
34-
run: cd dist && npm publish --provenance
35-
env:
36-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
34+
run: cd dist && npm publish --provenance --access public

0 commit comments

Comments
 (0)