Skip to content

Commit 32d9377

Browse files
committed
RV-HF [OPT] - fix for release
1 parent 594e046 commit 32d9377

3 files changed

Lines changed: 6 additions & 8 deletions

File tree

.github/workflows/publish-npm.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,26 +9,23 @@ on:
99
jobs:
1010
build:
1111
runs-on: ubuntu-latest
12+
1213
steps:
1314
- uses: actions/checkout@v3
1415

1516
- name: Setup Node.js
1617
uses: actions/setup-node@v3
1718
with:
1819
node-version: '20.x'
19-
registry-url: 'https://registry.npmjs.org'
20+
registry-url: 'https://registry.npmjs.org/'
2021

2122
- name: Install dependencies
2223
run: npm ci
2324

2425
- name: Build
2526
run: npm run build
2627

27-
- name: Create .npmrc file
28-
run: |
29-
echo "//registry.npmjs.org/:_authToken=${{secrets.NPM_TOKEN}}" >> .npmrc
30-
3128
- name: Publish to NPM
3229
run: npm publish --access public
3330
env:
34-
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
31+
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

.npmrc

Lines changed: 0 additions & 2 deletions
This file was deleted.

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,5 +63,8 @@
6363
},
6464
"engines": {
6565
"node": ">=14.0.0"
66+
},
67+
"publishConfig": {
68+
"access": "public"
6669
}
6770
}

0 commit comments

Comments
 (0)