Skip to content

Commit c8229e2

Browse files
committed
add auth
1 parent e0694ad commit c8229e2

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/publish.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,11 @@ jobs:
3838
- uses: ./.github/actions/yarn
3939

4040
- run: yarn turbo run build --concurrency=3
41-
41+
- name: NPM Auth
42+
env:
43+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
44+
run: |
45+
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > .npmrc
4246
- name: Publish
4347
env:
4448
HUSKY_ENABLED: true

0 commit comments

Comments
 (0)