From adf17cd3e05317b41a1eafc14a1b283f0becb1fa Mon Sep 17 00:00:00 2001 From: Felipe Barso <77860630+aprendendofelipe@users.noreply.github.com> Date: Wed, 17 Dec 2025 21:48:02 -0300 Subject: [PATCH] feat: add preview release workflow for pull requests --- .github/workflows/preview-release.yml | 29 +++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/preview-release.yml diff --git a/.github/workflows/preview-release.yml b/.github/workflows/preview-release.yml new file mode 100644 index 00000000..17dffd99 --- /dev/null +++ b/.github/workflows/preview-release.yml @@ -0,0 +1,29 @@ +name: Preview Release + +on: + pull_request: + +permissions: {} + +concurrency: ${{ github.workflow }}-${{ github.ref }} + +jobs: + publish: + name: Publish + runs-on: ubuntu-latest + + steps: + - name: Checkout Repository + uses: actions/checkout@v6 + + - name: Setup Node + uses: actions/setup-node@v6 + with: + node-version: 24 + + - name: Install Dependencies + run: npm ci --ignore-scripts + + - name: Publish to pkg.pr.new + run: npx pkg-pr-new publish --commentWithSha ./packages/* + timeout-minutes: 2