Skip to content

Commit 41b0e45

Browse files
committed
Set npm token for publishing
1 parent b5611ef commit 41b0e45

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/publish.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,9 @@ jobs:
4747

4848
- run: tar -xzf release-npm-package/package.tar.gz
4949
- run: |
50+
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
5051
pushd release
51-
npm publish --access public
52+
npm publish --tag latest --access public
5253
5354
aur:
5455
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)