Browse Source

automate npmrc step to keep scoped within CI

pull/4023/head
Martin McKeaveney 5 years ago
parent
commit
88a35ecf81
  1. 3
      .github/workflows/release.yml
  2. 1
      .npmrc

3
.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

1
.npmrc

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