From 41a5b1397733adc41ef7fdcac83e9be3db294a77 Mon Sep 17 00:00:00 2001 From: Aaron Croissette Date: Fri, 8 Mar 2024 23:50:02 -0500 Subject: [PATCH 1/2] ci: remove build in publish because it is in prepublishOnly scripts --- .github/workflows/publish-npm.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.github/workflows/publish-npm.yml b/.github/workflows/publish-npm.yml index 9f1347c..76a98a0 100644 --- a/.github/workflows/publish-npm.yml +++ b/.github/workflows/publish-npm.yml @@ -23,10 +23,6 @@ jobs: name: Install dependencies run: | bun install --frozen-lockfile - - id: build - name: Build library - run: | - bun run build - run: npm publish env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} \ No newline at end of file From bd211ee085192e6c8879558f6b5e2c849d3aeba3 Mon Sep 17 00:00:00 2001 From: Aaron Croissette Date: Sat, 9 Mar 2024 00:00:42 -0500 Subject: [PATCH 2/2] ci: use automation user to generate release --- .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 3210755..bd948a4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,4 +15,4 @@ jobs: node-version: 18.x - run: npx changelogithub env: - GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} + GITHUB_TOKEN: ${{secrets.BOT_GH_TOKEN}}