Skip to content

Commit

Permalink
ci: fix publish
Browse files Browse the repository at this point in the history
  • Loading branch information
hans00 committed Apr 29, 2024
1 parent 29133ac commit b56b72f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ jobs:
run: yarn publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
YARN_REGISTRY: https://registry.npmjs.org
- name: Draft release
uses: actions/create-release@v1
env:
Expand Down
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@
"url": "https://github.com/mybigday/llama.node/issues"
},
"homepage": "https://github.com/mybigday/llama.node#readme",
"publishConfig": {
"registry": "https://registry.npmjs.org"
},
"binary": {
"napi_versions": [
5
Expand All @@ -37,7 +40,7 @@
"bin/**/*",
"scripts/*.js",
"scripts/*.ts",
"src/**/*",
"src/**/*.{c,cc,cpp,h,hh,hpp,txt,cmake}",
"lib/*.js",
"lib/*.ts",
"CMakeLists.txt"
Expand Down

0 comments on commit b56b72f

Please sign in to comment.