Skip to content

Commit e2ac7bc

Browse files
committed
npmjs supremacy
1 parent 30f73bf commit e2ac7bc

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed

.github/workflows/release-package.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Node.js Package
1+
name: Publish to npmjs
22

33
on:
44
release:
@@ -26,9 +26,8 @@ jobs:
2626
- uses: actions/setup-node@v4
2727
with:
2828
node-version: 20
29-
registry-url: https://npm.pkg.github.com/
3029
- run: npm install
3130
- run: npm run build
32-
- run: npm publish --registry=https://npm.pkg.github.com/
31+
- run: npm publish
3332
env:
34-
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
33+
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

.npmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
@betteridea-dev:registry=https://npm.pkg.github.com
1+
@betteridea:registry=https://registry.npmjs.org/

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@betteridea-dev/codecell",
2+
"name": "@betteridea/codecell",
33
"repository": {
44
"type": "git",
55
"url": "git+https://github.com/betteridea-dev/codecell.git"
@@ -28,8 +28,7 @@
2828
"/dist"
2929
],
3030
"publishConfig": {
31-
"access": "public",
32-
"@betteridea-dev:registry": "https://npm.pkg.github.com"
31+
"access": "public"
3332
},
3433
"type": "module",
3534
"scripts": {

0 commit comments

Comments
 (0)