From 04d8a185e5b20b3e7ef680d19e6cd6cee1afe14a Mon Sep 17 00:00:00 2001 From: Paul Carleton Date: Fri, 7 Nov 2025 16:10:44 +0000 Subject: [PATCH 1/7] add pkg-pr-new bot --- .github/workflows/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7f4ba87c7..952a4c00d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -25,6 +25,7 @@ jobs: - run: npm run check - run: npm run build - run: npm test + - run: npm npx pkg-pr-new publish publish: runs-on: ubuntu-latest From 36174355271f2e67d029f0cd68ffd16d6f6e188b Mon Sep 17 00:00:00 2001 From: Paul Carleton Date: Fri, 7 Nov 2025 16:15:47 +0000 Subject: [PATCH 2/7] just npx --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 952a4c00d..b0de1641e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -25,7 +25,7 @@ jobs: - run: npm run check - run: npm run build - run: npm test - - run: npm npx pkg-pr-new publish + - run: npx pkg-pr-new publish publish: runs-on: ubuntu-latest From 12b82dab49759ceeadbd8b3c09d8ed62384c6378 Mon Sep 17 00:00:00 2001 From: Paul Carleton Date: Fri, 7 Nov 2025 16:27:33 +0000 Subject: [PATCH 3/7] move to nonblocking workflow --- .github/workflows/main.yml | 1 - .github/workflows/publish.yml | 24 ++++++++++++++++++++++++ 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/publish.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b0de1641e..7f4ba87c7 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -25,7 +25,6 @@ jobs: - run: npm run check - run: npm run build - run: npm test - - run: npx pkg-pr-new publish publish: runs-on: ubuntu-latest diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 000000000..6287b26f9 --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,24 @@ +name: Publish Any Commit +on: + pull_request: + push: + branches: + - '**' + tags: + - '!**' + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 24 + cache: npm + + - name: Build + run: npm run build + - name: Publish + run: npx pkg-pr-new publish \ No newline at end of file From dff249d46aef0d7c07baa3b41959cdf040ac99fe Mon Sep 17 00:00:00 2001 From: Paul Carleton Date: Fri, 7 Nov 2025 16:29:49 +0000 Subject: [PATCH 4/7] permissions contents --- .github/workflows/publish.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 6287b26f9..973db2cbf 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,4 +1,6 @@ name: Publish Any Commit +permissions: + contents: read on: pull_request: push: From f58585260ae5b6869c5337f2987552ee15116402 Mon Sep 17 00:00:00 2001 From: Paul Carleton Date: Fri, 7 Nov 2025 16:31:46 +0000 Subject: [PATCH 5/7] prettier --- .github/workflows/publish.yml | 38 +++++++++++++++++------------------ 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 973db2cbf..dfb05c83a 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,26 +1,26 @@ name: Publish Any Commit permissions: - contents: read + contents: read on: - pull_request: - push: - branches: - - '**' - tags: - - '!**' + pull_request: + push: + branches: + - '**' + tags: + - '!**' jobs: - build: - runs-on: ubuntu-latest + build: + runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 - with: - node-version: 24 - cache: npm + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 24 + cache: npm - - name: Build - run: npm run build - - name: Publish - run: npx pkg-pr-new publish \ No newline at end of file + - name: Build + run: npm run build + - name: Publish + run: npx pkg-pr-new publish From 73c8337109a8c757f99c0cfa0c1d61c0993265f0 Mon Sep 17 00:00:00 2001 From: Paul Carleton Date: Fri, 7 Nov 2025 16:36:54 +0000 Subject: [PATCH 6/7] add deps --- .github/workflows/publish.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index dfb05c83a..8bd48db5f 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -20,6 +20,7 @@ jobs: node-version: 24 cache: npm + - run: npm ci - name: Build run: npm run build - name: Publish From 239874cccb482e85a1274c9867e89b56bd23b5ea Mon Sep 17 00:00:00 2001 From: Paul Carleton Date: Fri, 7 Nov 2025 16:57:46 +0000 Subject: [PATCH 7/7] rename pkg step so it is not reqd --- .github/workflows/publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 8bd48db5f..00ffd6efe 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -10,7 +10,7 @@ on: - '!**' jobs: - build: + pkg-publish: runs-on: ubuntu-latest steps: