Skip to content

Commit 6fe4783

Browse files
committed
update release script for github
1 parent f1cea65 commit 6fe4783

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

.github/workflows/release.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ jobs:
3232
with:
3333
node-version: '20.x'
3434
registry-url: 'https://npm.pkg.github.com'
35-
- run: npm publish
35+
token: ${{ secrets.GITHUB_TOKEN }}
36+
scope: '@joshraphael'
37+
- run: npm publish --access public
3638
env:
3739
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
},
99
"repository": {
1010
"type": "git",
11-
"url": "https://github.com/joshraphael/highlightjs-rascript.git"
11+
"url": "git+https://github.com/joshraphael/highlightjs-rascript.git"
1212
},
1313
"keywords": [
1414
"rascript",
@@ -18,13 +18,13 @@
1818
"syntax"
1919
],
2020
"files": [
21-
"dist",
22-
"src"
23-
],
21+
"dist",
22+
"src"
23+
],
2424
"author": "Joshua Raphael",
2525
"license": "MIT",
2626
"bugs": {
2727
"url": "https://github.com/joshraphael/highlightjs-rascript/issues"
2828
},
2929
"homepage": "https://github.com/joshraphael/highlightjs-rascript"
30-
}
30+
}

0 commit comments

Comments
 (0)