diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2de360c..6b67de0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,6 +22,11 @@ jobs: node-version: ${{ matrix.node-version }} cache: npm + - name: Configure GPR auth + run: | + echo "@belarusian:registry=https://npm.pkg.github.com/" > .npmrc + echo "//npm.pkg.github.com/:_authToken=${{ secrets.NPM_TOKEN }}" >> .npmrc + - name: Install dependencies run: npm ci @@ -42,6 +47,11 @@ jobs: node-version: 22.x cache: npm + - name: Configure GPR auth + run: | + echo "@belarusian:registry=https://npm.pkg.github.com/" > .npmrc + echo "//npm.pkg.github.com/:_authToken=${{ secrets.NPM_TOKEN }}" >> .npmrc + - name: Install dependencies run: npm ci