Commit 07e0229

Anton Medvedev <anton@medv.io>
2023-10-05 12:05:24
Add .npmrc
1 parent de4c7a5
Changed files (2)
.github
workflows
.github/workflows/release.yml
@@ -23,9 +23,7 @@ jobs:
       - run: npm install
       - run: npm run build
       - name: Release
-        run: |
-          npm config set //registry.npmjs.org/:_authToken $NPM_TOKEN
-          npm run release -- patch
+        run: npm run release -- patch
         env:
           NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
           GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
.npmrc
@@ -0,0 +1,1 @@
+//registry.npmjs.org/:_authToken=$NPM_TOKEN