We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c6180cc commit 726e154Copy full SHA for 726e154
1 file changed
.github/workflows/release.yml
@@ -18,6 +18,7 @@ jobs:
18
uses: actions/setup-node@v4
19
with:
20
node-version: '20.x'
21
+ registry-url: 'https://registry.npmjs.org'
22
cache: npm
23
24
- run: npm ci
@@ -29,12 +30,9 @@ jobs:
29
30
run: npx jest --testPathPatterns=spec
31
32
- name: Publish to npm
- run: |
33
- echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
34
- npm whoami 2>&1 | tee -a "$GITHUB_STEP_SUMMARY"
35
- npm publish --tag v3-latest 2>&1 | tee -a "$GITHUB_STEP_SUMMARY"
+ run: npm publish --tag v3-latest
36
env:
37
- NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
38
39
- name: Create GitHub Release
40
uses: softprops/action-gh-release@v2
0 commit comments