Skip to content

Commit 71f2c2e

Browse files
committed
Use npm token for publish
1 parent 3869aab commit 71f2c2e

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/publish.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ jobs:
2929
uses: actions/setup-node@v4
3030
with:
3131
node-version: 22
32+
registry-url: https://registry.npmjs.org
3233
cache: npm
3334

3435
- name: Restore Turbo local cache
@@ -64,3 +65,5 @@ jobs:
6465

6566
- name: Publish to npm
6667
run: npm publish
68+
env:
69+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)