Skip to content

Commit

Permalink
fix: npm publish config (#86)
Browse files Browse the repository at this point in the history
  • Loading branch information
kidneyweakx authored Sep 27, 2023
1 parent 5f5d3ff commit a679da1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/publish-npm-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,12 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
# how to fix the package name
registry-url: 'https://registry.npmjs.org'
scope: '@cathaybc'
- run: |
sed -i 's/"name": "@cathayddt\/bdk"/"name": "@cathaybc\/bdk"/' package.json
npm install
- run: npm run build:console
- run: npm publish
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit a679da1

Please sign in to comment.