Skip to content

Commit 5940dca

Browse files
committed
chore: use SDK_READ_ACCESS_TOKEN in ci
1 parent f7bb92f commit 5940dca

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/actions/setup-repo/action.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: Setup repo
22
description: Runs all steps to setup the repo (install node_modules, build, etc...)
33
inputs:
44
registry-token:
5-
description: 'PAT to access registries'
5+
description: "PAT to access registries"
66
runs:
7-
using: 'composite'
7+
using: "composite"
88
steps:
99
- name: Get yarn cache directory path
1010
id: yarn-cache-dir-path
@@ -15,7 +15,7 @@ runs:
1515
1616
- uses: actions/setup-node@v3
1717
with:
18-
node-version: '20'
18+
node-version: "20"
1919

2020
- uses: actions/cache@v2
2121
id: yarn-cache
@@ -30,6 +30,6 @@ runs:
3030
3131
- name: Install dependencies
3232
shell: bash
33-
run: echo "//npm.pkg.github.com/:_authToken=$GH_REGISTRY_ACCESS_TOKEN" >> .npmrc && yarn install --frozen-lockfile --verbose && rm -f .npmrc
33+
run: echo "//npm.pkg.github.com/:_authToken=$SDK_READ_ACCESS_TOKEN" >> .npmrc && yarn install --frozen-lockfile --verbose && rm -f .npmrc
3434
env:
35-
GH_REGISTRY_ACCESS_TOKEN: ${{ inputs.registry-token }}
35+
SDK_READ_ACCESS_TOKEN: ${{ inputs.registry-token }}

0 commit comments

Comments
 (0)