From 4bd3a5f2dabfa16095f3ed2917f2d58189f4cf93 Mon Sep 17 00:00:00 2001 From: Kenneth Date: Sat, 28 Feb 2026 01:56:06 +0000 Subject: [PATCH] Use bun publish in CI workflow Co-authored-by: Ona --- .github/workflows/publish.yml | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a470c9c..7c360d1 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -7,9 +7,6 @@ on: jobs: publish: runs-on: ubuntu-latest - permissions: - contents: read - id-token: write steps: - uses: actions/checkout@v4 @@ -21,11 +18,6 @@ jobs: - run: bun test - - uses: actions/setup-node@v4 - with: - node-version: 22 - registry-url: https://registry.npmjs.org - - - run: npm publish --provenance --access public + - run: bun publish --access public env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + NPM_CONFIG_TOKEN: ${{ secrets.NPM_TOKEN }}