Skip to content

Commit

Permalink
fix: upgrade ci to use yarn v2 (#370)
Browse files Browse the repository at this point in the history
  • Loading branch information
farhat-ha authored Aug 22, 2024
1 parent 7b2b7a4 commit cc46e49
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/draft-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,7 @@ jobs:
- name: Create draft release
working-directory: packages/${{ env.PACKAGE_DIR }}
run: |
yarn release -- \
--ci \
--github.draft \
--no-npm.publish \
yarn release --ci --github.draft --no-npm.publish
env:
NPM_TOKEN: ${{ secrets.NPM_CI_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5 changes: 1 addition & 4 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -158,10 +158,7 @@ jobs:
- name: Release API docs
working-directory: packages/api-docs
run: |
yarn release -- \
$(node ./get_version.js) \
--ci \
--no-npm.publish \
yarn release $(node ./get_version.js) --ci --no-npm.publish
&& \
yarn publish --access public
env:
Expand Down

0 comments on commit cc46e49

Please sign in to comment.