Browse Source

automate npmrc step to keep scoped within CI

gh-pages
Martin McKeaveney 5 years ago
parent
commit
901eb5235d
  1. 1
      .github/workflows/release.yml
  2. 1
      .npmrc

1
.github/workflows/release.yml

@ -31,6 +31,7 @@ jobs:
# setup the username and email. I tend to use 'GitHub Actions Bot' with no email by default # 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.name "Budibase Release Bot"
git config user.email "<>" git config user.email "<>"
echo //registry.npmjs.org/:_authToken=${NPM_TOKEN} >> .npmrc
yarn release yarn release
- name: Build/release Docker images - name: Build/release Docker images

1
.npmrc

@ -1 +0,0 @@
//registry.npmjs.org/:_authToken=${NPM_TOKEN}
Loading…
Cancel
Save