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

Commit b056f02

Browse files
committed
Set yarnrc on the fly, run from within subfolder
1 parent 47bfb78 commit b056f02

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/javascript.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,10 @@ jobs:
7575
# - run: npx nx affected -t test
7676

7777
- name: Dry-run publish to github
78-
run: yarn publish --dry-run ./javascript/packages/linter
78+
run: |-
79+
cd javascript/packages/linter
80+
echo npmRegistryServer: "https://npm.pkg.github.com" > .yarnrc
81+
echo npmAuthToken: "secretAuthTokenValue" >> .yarnrc
82+
yarn publish --dry-run --access restricted
7983
env:
8084
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)