From 078019bd1fa76e54d3be08292309085adde8819d Mon Sep 17 00:00:00 2001 From: Jacob Bolda Date: Fri, 16 May 2025 23:58:11 -0500 Subject: [PATCH 1/2] enable publishing preview versions --- .github/workflows/preview.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/preview.yml diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml new file mode 100644 index 0000000..6abee28 --- /dev/null +++ b/.github/workflows/preview.yml @@ -0,0 +1,18 @@ +name: preview + +on: [pull_request] + +permissions: + contents: read + +jobs: + preview: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 22 + - run: npm run build + - name: Publish Preview Versions + run: npx pkg-pr-new publish From 6ce98d0853e6bf3efa5b545106fe1374228327c5 Mon Sep 17 00:00:00 2001 From: Jacob Bolda Date: Sat, 17 May 2025 00:16:01 -0500 Subject: [PATCH 2/2] install --- .github/workflows/preview.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index 6abee28..003805c 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -13,6 +13,7 @@ jobs: - uses: actions/setup-node@v4 with: node-version: 22 + - run: npm ci - run: npm run build - name: Publish Preview Versions run: npx pkg-pr-new publish