From 3c21f58d1cc4913dfcb6b1a25dde39c73eb74ab9 Mon Sep 17 00:00:00 2001 From: Conor Sloan Date: Fri, 1 Mar 2024 17:04:43 +0000 Subject: [PATCH] fix actions workflows --- .github/workflows/check-dist.yml | 5 +++++ .github/workflows/ci.yml | 7 ++++++- .github/workflows/linter.yml | 5 +++++ 3 files changed, 16 insertions(+), 1 deletion(-) 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