From 8870dc38aa26e03f5371da25ab43d3ec22caeba8 Mon Sep 17 00:00:00 2001 From: Pekka Enberg Date: Wed, 28 May 2025 12:22:17 +0300 Subject: [PATCH] github: Switch JavaScript publish to Github actions With Blacksmith runners, it errors out as follows: ``` npm notice Publishing to https://registry.npmjs.org/ with tag next and public access npm notice publish Signed provenance statement with source and build information from GitHub Actions npm notice publish Provenance statement published to transparency log: https://search.sigstore.dev/?logIndex=221582002 npm error code E422 npm error 422 Unprocessable Entity - PUT https://registry.npmjs.org/@tursodatabase%2flimbo - Error verifying sigstore provenance bundle: Unsupported GitHub Actions runner environment: "self-hosted". Only "github-hosted" runners are supported when publishing with provenance. npm error A complete log of this run can be found in: /home/runner/.npm/_logs/2025-05-28T08_42_29_830Z-debug-0.log Error: Process completed with exit code 1. ``` --- .github/workflows/napi.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/napi.yml b/.github/workflows/napi.yml index 2556af130..2c13d2e8d 100644 --- a/.github/workflows/napi.yml +++ b/.github/workflows/napi.yml @@ -194,7 +194,7 @@ jobs: if-no-files-found: error publish: name: Publish - runs-on: blacksmith-4vcpu-ubuntu-2404 + runs-on: ubuntu-latest permissions: contents: read id-token: write