Skip to content

Commit

Permalink
add old .npmrc creation to the pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
sg-gs committed Aug 9, 2023
1 parent 97f126e commit 36a1ddb
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/pr-rules-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,13 @@ jobs:
node-version: ${{ matrix.node-version }}
registry-url: 'https://npm.pkg.github.com'

- run: echo "registry=https://registry.yarnpkg.com/" > .npmrc
- run: echo "@internxt:registry=https://npm.pkg.github.com" >> .npmrc
# You cannot read packages from other private repos with GITHUB_TOKEN
# You have to use a PAT instead https://github.com/actions/setup-node/issues/49
- run: echo //npm.pkg.github.com/:_authToken=${{ secrets.PERSONAL_ACCESS_TOKEN }} >> .npmrc
- run: echo "always-auth=true" >> .npmrc

- name: Install dependencies
run: yarn
env:
Expand Down

0 comments on commit 36a1ddb

Please sign in to comment.