diff --git a/.github/workflows/check-dist.yml b/.github/workflows/check-dist.yml index 741dfd6..c2146b0 100644 --- a/.github/workflows/check-dist.yml +++ b/.github/workflows/check-dist.yml @@ -34,6 +34,11 @@ jobs: node-version-file: .node-version cache: npm + - name: setup github npm authentication + run: echo "//npm.pkg.github.com/:_authToken=${NPM_TOKEN}" >> .npmrc + env: + NPM_TOKEN: ${{secrets.GITHUB_TOKEN}} + - name: Install Dependencies id: install run: npm ci diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 64a855c..438b509 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,6 +27,11 @@ jobs: node-version-file: .node-version cache: npm + - name: setup github npm authentication + run: echo "//npm.pkg.github.com/:_authToken=${NPM_TOKEN}" >> .npmrc + env: + NPM_TOKEN: ${{secrets.GITHUB_TOKEN}} + - name: Install Dependencies id: npm-ci run: npm ci @@ -42,4 +47,4 @@ jobs: - name: Test id: npm-ci-test run: npm run ci-test - + diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index adb3f87..de44299 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -29,6 +29,11 @@ jobs: node-version-file: .node-version cache: npm + - name: setup github npm authentication + run: echo "//npm.pkg.github.com/:_authToken=${NPM_TOKEN}" >> .npmrc + env: + NPM_TOKEN: ${{secrets.GITHUB_TOKEN}} + - name: Install Dependencies id: install run: npm ci