Skip to content

Commit

Permalink
chore: use SDK_READ_ACCESS_TOKEN in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
0xtekgrinder committed Nov 5, 2024
1 parent f7bb92f commit 5940dca
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/actions/setup-repo/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Setup repo
description: Runs all steps to setup the repo (install node_modules, build, etc...)
inputs:
registry-token:
description: 'PAT to access registries'
description: "PAT to access registries"
runs:
using: 'composite'
using: "composite"
steps:
- name: Get yarn cache directory path
id: yarn-cache-dir-path
Expand All @@ -15,7 +15,7 @@ runs:
- uses: actions/setup-node@v3
with:
node-version: '20'
node-version: "20"

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

0 comments on commit 5940dca

Please sign in to comment.