From e0ff661c511ee5c5301441c357fff42c5d1efc25 Mon Sep 17 00:00:00 2001 From: Gregor Martynus <39992+gr2m@users.noreply.github.com> Date: Fri, 2 Jun 2023 14:19:01 -0700 Subject: [PATCH] Explicitly install @changesets/cli as it's required for the `changesets/action` action We cannot add `@changesets/cli` as dependency because it conflicts with `primer-changesets-cli` This is required for https://github.com/primer/react/pull/3352 --- .github/workflows/release.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cac8bd7..f98c8e6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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/cli@2.26.1 + - name: Create release pull request or publish to npm id: changesets # Uses SHA for security hardening