diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 645e15f..8b7a319 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -31,8 +31,7 @@ jobs: - name: Version command id: version run: | - npm install --no-package-lock --no-save @changesets/cli - echo ::set-output name=changes::$(npx changeset version 2>&1 | grep -q 'No unreleased changesets found' && echo 'false' || echo 'true') + echo ::set-output name=changes::$(npx @changesets/cli version 2>&1 | grep -q 'No unreleased changesets found' && echo 'false' || echo 'true') - name: Push changes if: steps.version.outputs.changes == 'true'