We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b76e4a6 commit 9727266Copy full SHA for 9727266
1 file changed
.github/workflows/release.yml
@@ -34,13 +34,12 @@ jobs:
34
needs: test # Ensure the tests are run first
35
36
steps:
37
- - name: Checkout repository
38
- uses: actions/checkout@v2
39
-
40
- - name: Set up Node.js
41
- uses: actions/setup-node@v3
+ - uses: actions/checkout@v4
+ # Setup .npmrc file to publish to npm
+ - uses: actions/setup-node@v4
42
with:
43
- node-version: 18 # Use any version (this is just for publishing)
+ node-version: '20.x'
+ registry-url: 'https://registry.npmjs.org'
44
45
- name: Install dependencies
46
run: npm install # Install dependencies from the lockfile
@@ -50,6 +49,5 @@ jobs:
50
49
51
- name: Publish to npm
52
run: npm publish --access public # Publish to npm
53
54
env:
55
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} # Ensure the token is set in GitHub Secrets
0 commit comments