Skip to content

Commit

Permalink
chore(release): fix npm publish
Browse files Browse the repository at this point in the history
  • Loading branch information
aegenet committed Aug 7, 2024
1 parent 46262db commit 0c79184
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,16 +42,20 @@ jobs:
- name: Publish packages GitHub
env:
CI: true
YAWT_NPM_PUBLIC_PUBLISH: 'false'
YAWT_NPM_NAMESPACE: '@aegenet'
YAWT_NPM_PUSH_REGISTRY: https://npm.pkg.github.com/
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
run: yarn run publish
run: npm run publish

- name: Publish packages npm
env:
CI: true
NPM_PUBLISH_PUBLIC: '1'
NPM_PUSH_REGISTRY: https://registry.npmjs.org/
YAWT_NPM_PUBLIC_PUBLISH: 'true'
YAWT_NPM_NAMESPACE: '@aegenet'
YAWT_NPM_PUSH_REGISTRY: https://registry.npmjs.org/
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
run: yarn run publish
run: npm run publish

# - name: Upload coverage reports to Codecov
# uses: codecov/codecov-action@v4
Expand Down

0 comments on commit 0c79184

Please sign in to comment.