Skip to content

Commit

Permalink
use npm instead smh.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gnuxie committed Mar 20, 2024
1 parent f35605b commit 30bd02d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 18
registry-url: https://npm.pkg.github.com/
registry-url: https://registry.npmjs.org
- run: rm -rf node_modules && yarn install --frozen-lockfile
- run: yarn publish
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,6 @@
"@sinclair/typebox": "~0.31.15"
},
"publishConfig": {
"@gnuxie:registry": "https://npm.pkg.github.com"
"@gnuxie:registry": "https://registry.npmjs.org"
}
}

0 comments on commit 30bd02d

Please sign in to comment.