Skip to content
This repository was archived by the owner on Dec 8, 2025. It is now read-only.

Commit 0470861

Browse files
committed
Tweak some auth param methods
1 parent b056f02 commit 0470861

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/javascript.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ jobs:
7777
- name: Dry-run publish to github
7878
run: |-
7979
cd javascript/packages/linter
80-
echo npmRegistryServer: "https://npm.pkg.github.com" > .yarnrc
81-
echo npmAuthToken: "secretAuthTokenValue" >> .yarnrc
80+
echo Token is ${NODE_AUTH_TOKEN}
81+
echo "//npm.pkg.github.com/:_authToken=${NODE_AUTH_TOKEN}" > ~/.npmrc
8282
yarn publish --dry-run --access restricted
8383
env:
8484
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)