diff --git a/.github/workflows/pr-rules-check.yml b/.github/workflows/pr-rules-check.yml index 352154a1f..449caba54 100644 --- a/.github/workflows/pr-rules-check.yml +++ b/.github/workflows/pr-rules-check.yml @@ -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: