From 77c6eba1599b97f5ccfcc04b40925205f37ef2d4 Mon Sep 17 00:00:00 2001 From: Tobi Lutke Date: Sun, 15 Feb 2026 23:02:33 -0400 Subject: [PATCH] fix: publish workflow bun test timeout and npm auth --- .github/workflows/publish.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index c01bba1..f662c57 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -23,7 +23,10 @@ jobs: run: sudo apt-get update && sudo apt-get install -y libsqlite3-dev - run: bun install - - run: bun test + - run: bun test --timeout 30000 --preload ./src/test-preload.ts test/ + env: + CI: true + LD_LIBRARY_PATH: /usr/lib/x86_64-linux-gnu - uses: actions/setup-node@v4 with: @@ -31,8 +34,5 @@ jobs: registry-url: https://registry.npmjs.org - run: npm publish --provenance --access public - - - name: Create GitHub Release env: - GH_TOKEN: ${{ github.token }} - run: gh release create "${{ github.ref_name }}" --generate-notes + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}