Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
abearxiong committed Sep 28, 2024
1 parent da7aeb3 commit 5670283
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,9 @@ jobs:
- name: Install dependencies
run: npm install
- name: List files in current directory
run: ls -alh
run: ls -alh && cat .npmrc
# Step 5: Publish to npm
- name: Publish package
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} # 使用 GitHub Secrets 来安全存储 npm token
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} # 使用 GitHub Secrets 来安全存储 npm token
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} # 使用 GitHub Secrets 来安全存储 npm token
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
},
"repository": {
"type": "git",
"url": "[email protected]:abearxiong/kevisual-query.git"
"url": "git+ssh://[email protected]/abearxiong/kevisual-query.git"
},
"exports": {
".": {
Expand Down

0 comments on commit 5670283

Please sign in to comment.