Commit 0cf49e6
Changed files (2)
.github
workflows
.github/workflows/release.yml
@@ -23,7 +23,9 @@ jobs:
- run: npm install
- run: npm run build
- name: Release
- run: npm run release -- patch
+ run: |
+ npm config set //registry.npmjs.org/:_authToken $NPM_TOKEN
+ npm run release -- patch
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
.npmrc
@@ -1,1 +0,0 @@
-//registry.npmjs.org/:_authToken=$NPM_TOKEN