Skip to content

Commit b2e254e

Browse files
committed
[CI] Try to fix auth error of npm
1 parent 549ddaf commit b2e254e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ jobs:
1313
- uses: pnpm/[email protected]
1414
with:
1515
version: 5.17.1
16+
- run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_AUTH_TOKEN }}" >> .npmrc
1617
- run: pnpm install -r --frozen-lockfile
1718
- run: pnpm run -r build
1819
- run: pnpm -r publish --no-git-checks --access public
19-
env:
20-
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}

0 commit comments

Comments
 (0)