diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f493d81b..d9792184 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,11 +23,14 @@ jobs: - name: Install Dependencies run: yarn + - name: Build + run: yarn build + - name: Create Release Pull Request or Publish to npm id: changesets uses: changesets/action@v1 with: - publish: 'yarn build && yarn changeset publish' + publish: yarn changeset publish env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }}