From 593d0fb7c69e2f29f53a65420e0fe693b386b647 Mon Sep 17 00:00:00 2001 From: AmirSa12 Date: Fri, 7 Jun 2024 14:57:52 +0330 Subject: [PATCH] test --- .github/workflows/cr.yml | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/.github/workflows/cr.yml b/.github/workflows/cr.yml index e15307b261eb74..253098b20a73f9 100644 --- a/.github/workflows/cr.yml +++ b/.github/workflows/cr.yml @@ -1,15 +1,8 @@ name: Publish Any Commit -on: - push: - branches: - - main - - v6/environment-api - pull_request_review: - types: [submitted] +on: [push, pull_request] jobs: build: - if: github.event_name == 'push' || github.event.review.state == 'APPROVED' runs-on: ubuntu-latest steps: @@ -28,5 +21,7 @@ jobs: - name: Build run: pnpm build - - run: pnpx pkg-pr-new publish --compact --pnpm - working-directory: ./packages/vite + - run: pnpx pkg-pr-new publish --pnpm ./packages/vite + # working-directory: ./packages/vite + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}