Skip to content

Commit

Permalink
ci: explicit set yarnrc
Browse files Browse the repository at this point in the history
  • Loading branch information
ebenali committed Jan 16, 2024
1 parent d4c919b commit ac10482
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,15 @@ jobs:
- run: yarn version patch
- run: echo "NEW_TAG=$(jq .version <package.json)" >> "$GITHUB_ENV"
- run: git tag "v$NEW_TAG"
- run: git add package.json && git commit -m "botaction - auto tag v$NEW_TAG"
- run: git remote set-url origin [email protected]:/MoreChickenDelivered/md-loader
- run: git push --tags && git push

- name: Setup .yarnrc.yml
run: |
yarn config set npmScopes.my-org.npmRegistryServer "https://npm.pkg.github.com"
yarn config set npmScopes.my-org.npmAlwaysAuth true
yarn config set npmScopes.my-org.npmAuthToken $NODE_AUTH_TOKEN
- run: yarn npm publish

0 comments on commit ac10482

Please sign in to comment.