Skip to content

Commit

Permalink
🎉 modify npm settings
Browse files Browse the repository at this point in the history
  • Loading branch information
oaoong committed Mar 3, 2024
1 parent ba8f216 commit 0e9df62
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/deploy-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,11 @@ on:
- main

jobs:
publish-github-registry:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -38,4 +41,4 @@ jobs:
- name: Publish
run: pnpm publish
env:
NODE_AUTH_TOKEN: ${{secrets.TOKEN_ACTIONS}}
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
"name": "@oaoong/misty",
"version": "1.0.1",
"description": "make component misty",
"repository": "https://github.com/oaoong/misty",
"repository": {
"type": "git",
"url": "https://github.com/oaoong/misty.git"
},
"keywords": [
"react",
"component",
Expand Down Expand Up @@ -90,5 +93,5 @@
},
"readme": "ERROR: No README data found!",
"homepage": "https://github.com/oaoong/misty#readme",
"_id": "@oaoong/[email protected].0"
"_id": "@oaoong/[email protected].1"
}

0 comments on commit 0e9df62

Please sign in to comment.