From 95b12036bc47e20c92f1eda55436a657dbc45273 Mon Sep 17 00:00:00 2001 From: Vahor Date: Sun, 27 Aug 2023 18:54:34 +0200 Subject: [PATCH] add env variables --- .github/workflows/snapshot-release.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/snapshot-release.yml b/.github/workflows/snapshot-release.yml index 807eb4d..2c1e763 100644 --- a/.github/workflows/snapshot-release.yml +++ b/.github/workflows/snapshot-release.yml @@ -78,13 +78,7 @@ jobs: run: | pnpm exec changeset version --snapshot pnpm run publish:prepare - pnpm exec changeset publish --tag - - - name: Create Release Pull Request or Publish - id: changesets - uses: changesets/action@v1 - with: - publish: pnpm run publish + pnpm exec changeset publish --tag env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }}