From 88a35ecf81bf69ee93e06e10d47061de4d2de209 Mon Sep 17 00:00:00 2001 From: Martin McKeaveney Date: Wed, 26 May 2021 16:48:03 +0100 Subject: [PATCH] automate npmrc step to keep scoped within CI --- .github/workflows/release.yml | 3 ++- .npmrc | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) delete mode 100644 .npmrc diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 525caa33a3..e4f924d6e7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,7 +8,7 @@ on: jobs: release: runs-on: ubuntu-latest - + steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 @@ -31,6 +31,7 @@ jobs: # setup the username and email. I tend to use 'GitHub Actions Bot' with no email by default git config user.name "Budibase Release Bot" git config user.email "<>" + echo //registry.npmjs.org/:_authToken=${NPM_TOKEN} >> .npmrc yarn release - name: Build/release Docker images diff --git a/.npmrc b/.npmrc deleted file mode 100644 index ae643592e7..0000000000 --- a/.npmrc +++ /dev/null @@ -1 +0,0 @@ -//registry.npmjs.org/:_authToken=${NPM_TOKEN}