Skip to content

Commit cd62a30

Browse files
committed
npmパッケージをpublicに公開
1 parent 8ef0af6 commit cd62a30

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.github/workflows/build-publish.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,6 @@ jobs:
5252
run: npm install
5353

5454
- name: Publish package
55-
run: npm publish
55+
run: npm publish --access public
5656
env:
57-
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
57+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@cuculus-dev/cuculus-api",
2+
"name": "@cuculus/cuculus-api",
33
"version": "0.0.3",
44
"main": "dist/index.js",
55
"types": "dist/index.d.ts",
@@ -16,8 +16,7 @@
1616
"typescript": "^5.2.2"
1717
},
1818
"publishConfig": {
19-
"access": "public",
20-
"registry": "https://npm.pkg.github.com/cuculus-dev"
19+
"registry": "https://registry.npmjs.org/"
2120
},
2221
"volta": {
2322
"node": "18.17.1",

0 commit comments

Comments
 (0)