From 2d881d353bb382ed3623703804165f9fa4c09159 Mon Sep 17 00:00:00 2001 From: Jonny Adshead Date: Wed, 7 Feb 2024 08:31:59 -0800 Subject: [PATCH] fix(release-please): use npmrc and set registry (#52) this should be chore but using fix to trigger patch --- .github/workflows/release-please.yml | 3 ++- .npmrc | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 .npmrc diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index 1962432..54188f5 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -25,10 +25,11 @@ jobs: - uses: actions/setup-node@v4 with: node-version: 20 + registry-url: 'https://registry.npmjs.org' if: ${{ steps.release.outputs.release_created }} - run: npm ci if: ${{ steps.release.outputs.release_created }} - - run: npm publish + - run: npm publish --access public env: NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} if: ${{ steps.release.outputs.release_created }} \ No newline at end of file diff --git a/.npmrc b/.npmrc new file mode 100644 index 0000000..5a089d9 --- /dev/null +++ b/.npmrc @@ -0,0 +1,2 @@ +registry=https://registry.npmjs.org +engine-strict=true \ No newline at end of file