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

Commit 2672fda

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

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/javascript.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,7 @@ 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 "//npm.pkg.github.com/:_authToken=${NODE_AUTH_TOKEN}" > ~/.npmrc
8281
yarn publish --dry-run --access restricted
8382
env:
8483
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)