Skip to content

Commit daf3143

Browse files
committed
chore: Update npm publish command to remove registry URL
1 parent 7997b16 commit daf3143

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/publish.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,10 @@ jobs:
2828
- name: Run build script
2929
run: npm run build
3030

31+
- name: Configure npm for publishing
32+
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
33+
3134
- name: Publish to npm
3235
env:
3336
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
34-
run: npm publish --access public --registry=https://registry.npmjs.org
37+
run: npm publish --access public

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "modulatecss",
3-
"version": "1.0.16",
3+
"version": "1.0.17",
44
"publishConfig": {
55
"registry": "https://npm.pkg.github.com"
66
},

0 commit comments

Comments
 (0)