Skip to content

Commit

Permalink
fix: fix publish config
Browse files Browse the repository at this point in the history
  • Loading branch information
DanSnow committed Mar 14, 2023
1 parent 2a0095a commit 16b04ec
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ jobs:
run: |
yarn
yarn npm publish
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
publish-npm:
runs-on: ubuntu-latest
needs: release-please
Expand Down
9 changes: 8 additions & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,14 @@ nmMode: hardlinks-local

nodeLinker: node-modules

npmAuthToken: "${NODE_AUTH_TOKEN:-}"
npmRegistries:
//npm.pkg.github.com:
npmAuthToken: "${GITHUB_TOKEN-}"

npmScopes:
storipress:
npmPublishRegistry: "https://npm.pkg.github.com"
npmRegistryServer: "https://npm.pkg.github.com"

plugins:
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
Expand Down

0 comments on commit 16b04ec

Please sign in to comment.