Skip to content

Commit

Permalink
Explicitly install @changesets/cli as it's required for the `changese…
Browse files Browse the repository at this point in the history
…ts/action` action

We cannot add `@changesets/cli` as dependency because it conflicts with `primer-changesets-cli`

This is required for primer/react#3352
  • Loading branch information
gr2m committed Jun 2, 2023
1 parent 63a4948 commit e0ff661
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Expand Up @@ -56,6 +56,10 @@ jobs:
use_gpr: ${{ inputs.use_gpr }}
NPM_TOKEN: ${{ secrets.npm_token }}

# `changesets/action` depends on @changesets/cli being installed
# and we cannot add it as dependency because it conflicts with `primer-changesets-cli`
- run: npm install @changesets/[email protected]

- name: Create release pull request or publish to npm
id: changesets
# Uses SHA for security hardening
Expand Down

0 comments on commit e0ff661

Please sign in to comment.