From b008203d8d641364671b3dcae8f50a5c07d2129d Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 22 Oct 2025 23:55:38 +0000 Subject: [PATCH 1/4] Initial plan From 913685188276a8b7f364aaf8efa83ef48066199d Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 22 Oct 2025 23:59:02 +0000 Subject: [PATCH 2/4] Update GitHub Actions workflow to use trusted publishers and latest action versions Co-authored-by: kentcdodds <1500684+kentcdodds@users.noreply.github.com> --- .github/workflows/release.yml | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a1675bf..6599d7e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,14 +15,17 @@ jobs: test: name: ๐Ÿงช Test runs-on: ubuntu-latest + strategy: + matrix: + node-version: [lts/-1, lts/*, latest] steps: - name: โฌ‡๏ธ Checkout repo - uses: actions/checkout@v3 + uses: actions/checkout@v5 - name: โŽ” Setup node - uses: actions/setup-node@v3 + uses: actions/setup-node@v6 with: - node-version: 20 + node-version: ${{ matrix.node-version }} - name: ๐Ÿ“ฅ Download deps uses: bahmutov/npm-install@v1 @@ -48,12 +51,12 @@ jobs: github.ref) && github.event_name == 'push' }} steps: - name: โฌ‡๏ธ Checkout repo - uses: actions/checkout@v3 + uses: actions/checkout@v5 - name: โŽ” Setup node - uses: actions/setup-node@v3 + uses: actions/setup-node@v6 with: - node-version: 20 + node-version: lts/* - name: ๐Ÿ“ฅ Download deps uses: bahmutov/npm-install@v1 @@ -67,9 +70,9 @@ jobs: --moduleResolution nodenext --target es2022 --outDir . index.js - name: ๐Ÿš€ Release - uses: cycjimmy/semantic-release-action@v3.2.0 + uses: cycjimmy/semantic-release-action@v5.0.2 with: - semantic_version: 17 + semantic_version: 25 branches: | [ '+([0-9])?(.{+([0-9]),x}).x', @@ -82,4 +85,3 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_CONFIG_PROVENANCE: true - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} From 6d85a7d40cc2d4830d6372a72e7d474047b4777d Mon Sep 17 00:00:00 2001 From: "Kent C. Dodds" Date: Wed, 22 Oct 2025 18:04:07 -0600 Subject: [PATCH 3/4] Update .github/workflows/release.yml --- .github/workflows/release.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6599d7e..601fc85 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,9 +15,6 @@ jobs: test: name: ๐Ÿงช Test runs-on: ubuntu-latest - strategy: - matrix: - node-version: [lts/-1, lts/*, latest] steps: - name: โฌ‡๏ธ Checkout repo uses: actions/checkout@v5 From fdff5eafba4fa0a15820c937a6bb4e9fd0a240e0 Mon Sep 17 00:00:00 2001 From: "Kent C. Dodds" Date: Wed, 22 Oct 2025 18:04:12 -0600 Subject: [PATCH 4/4] Update .github/workflows/release.yml --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 601fc85..cc3f647 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,7 +22,7 @@ jobs: - name: โŽ” Setup node uses: actions/setup-node@v6 with: - node-version: ${{ matrix.node-version }} + node-version: lts/* - name: ๐Ÿ“ฅ Download deps uses: bahmutov/npm-install@v1