Skip to content

Commit 562db65

Browse files
committed
Update the workflow to provide 'pnpm i' with token
1 parent 24fb536 commit 562db65

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/packages_publishing.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,11 @@ jobs:
5858
${{ runner.os }}-pnpm-store
5959
6060
- name: Install dependencies
61-
run: pnpm install --frozen-lockfile --config.optional=true
61+
env:
62+
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
63+
run: |
64+
pnpm set //npm.pkg.github.com/:_authToken="$NODE_AUTH_TOKEN";
65+
pnpm install --frozen-lockfile --config.optional=true;
6266
6367
- name: Set timestamp version
6468
if: ${{ env.SET_TIMESTAMP_VERSION == 'true' }}

0 commit comments

Comments
 (0)