Commit 02fa1a2

Anton Medvedev <anton@medv.io>
2023-10-04 21:21:25
Update release.yml
1 parent 9460622
Changed files (1)
.github
workflows
.github/workflows/release.yml
@@ -21,7 +21,9 @@ jobs:
           git config user.name "${GITHUB_ACTOR}"
           git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
       - run: npm install
-      - 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 }}