From 894567089b8fe958242a8d4307c19e123ed11914 Mon Sep 17 00:00:00 2001 From: vejja Date: Thu, 14 Nov 2024 11:59:04 +0100 Subject: [PATCH] Revert "feat(core): Continuous Releases" --- .github/workflows/pr-pkg-new.yml | 43 -------------------------------- 1 file changed, 43 deletions(-) delete mode 100644 .github/workflows/pr-pkg-new.yml diff --git a/.github/workflows/pr-pkg-new.yml b/.github/workflows/pr-pkg-new.yml deleted file mode 100644 index 531c3ef7..00000000 --- a/.github/workflows/pr-pkg-new.yml +++ /dev/null @@ -1,43 +0,0 @@ -name: Publish Approved Pull Requests -on: - pull_request_review: - types: [submitted] - -jobs: - check: - # First, trigger a permissions check on the user approving the pull request. - if: github.event.review.state == 'approved' - runs-on: ubuntu-latest - outputs: - has-permissions: ${{ steps.checkPermissions.outputs.require-result }} - steps: - - name: Check permissions - id: checkPermissions - uses: actions-cool/check-user-permission@v2 - with: - # In this example, the approver must have the write access - # to the repository to trigger the package preview. - require: "write" - - publish: - needs: check - # Publish the preview package only if the permissions check passed. - if: needs.check.outputs.has-permissions == 'true' - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v4 - - - run: corepack enable - - uses: actions/setup-node@v4 - with: - node-version: 20 - - - name: Install dependencies - run: yarn - - - name: Build module - run: yarn dev:prepare && yarn prepack - - - name: Publish PR - run: npx pkg-pr-new publish \ No newline at end of file