From d2d17f8b679d4ffde49084b80dd01550cf408401 Mon Sep 17 00:00:00 2001 From: Cormac de Barra Date: Mon, 22 Jan 2024 11:48:50 +0000 Subject: [PATCH] fix: [] - debug release --- .github/workflows/release-package.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/release-package.yml b/.github/workflows/release-package.yml index 277ca81..b474881 100644 --- a/.github/workflows/release-package.yml +++ b/.github/workflows/release-package.yml @@ -41,6 +41,14 @@ jobs: node-version: 18 registry-url: "https://npm.pkg.github.com" scope: '@contentful' + always-auth: true + + - name: "Create GH .npmrc" + shell: bash + run: | + echo -e "//npm.pkg.github.com/:_authToken=${GITHUB_TOKEN}\n@contentful:registry=https://npm.pkg.github.com\nalways-auth=true" > .npmrc + env: + GITHUB_TOKEN: ${{ steps.vault.outputs.GITHUB_PACKAGES_WRITE_TOKEN }} - run: npm ci env: