We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a010d20 commit 7f857beCopy full SHA for 7f857be
.github/workflows/release.yml
@@ -29,6 +29,7 @@ jobs:
29
with:
30
node-version: '20'
31
registry-url: 'https://registry.npmjs.org'
32
+ token: ${{ secrets.NPM_TOKEN }}
33
34
- name: Install dependencies
35
run: bun install --frozen-lockfile
@@ -56,12 +57,6 @@ jobs:
56
57
zip broom-${{ steps.get_info.outputs.VERSION }}-${{ steps.get_info.outputs.COMMIT_SHORT }}.zip index.js
58
cd ..
59
- - name: Configure npm authentication
60
- run: |
61
- echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
62
- chmod 600 ~/.npmrc
63
- npm whoami
64
-
65
- name: Publish to npm
66
run: npm publish --provenance --access public
67
0 commit comments