From dfe556ac8409f1a842c7c384c114f31bb5cbf222 Mon Sep 17 00:00:00 2001 From: Matthew Corner Date: Tue, 28 May 2024 11:26:13 +0100 Subject: [PATCH] .npmrc --- .github/workflows/prerelease.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/prerelease.yml b/.github/workflows/prerelease.yml index b25cca7fe..745aad281 100644 --- a/.github/workflows/prerelease.yml +++ b/.github/workflows/prerelease.yml @@ -76,11 +76,13 @@ jobs: env: CI: true + + - name: Setup npmrc + run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc + - name: Publish to npm shell: bash run: pnpm publish --access=public --tag=ci-test --no-git-checks - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - name: Commit Version Changes run: |