From 01880a6cfb99d3e3b0c3e0414ab4ca5b67620fe1 Mon Sep 17 00:00:00 2001 From: Fabian Jocks <24557998+iamfj@users.noreply.github.com> Date: Mon, 15 Jun 2026 16:58:17 +0200 Subject: [PATCH] ci(release): use npm trusted publishing --- .github/workflows/release.yml | 6 ++++-- package.json | 7 +++---- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 72418bf..5d28b73 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -47,6 +47,10 @@ jobs: uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: fetch-depth: 0 + - name: Setup Node.js + uses: actions/setup-node@11d1e78562b3b129950aa4311a307d06eaa9347d + with: + node-version: 24 - name: Setup Bun uses: oven-sh/setup-bun@735343b667d3e6f658f44d0eca948eb6282f2b76 with: @@ -56,6 +60,4 @@ jobs: - name: Release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - NPM_CONFIG_PROVENANCE: "true" run: bun run release diff --git a/package.json b/package.json index 9885c4d..ed471a4 100644 --- a/package.json +++ b/package.json @@ -6,11 +6,11 @@ "type": "module", "repository": { "type": "git", - "url": "https://github.com/iamfj/pi-stack-ops.git" + "url": "git+https://github.com/iamfj/pi-stack-ops.git" }, "packageManager": "bun@1.3.12", "bin": { - "stack-ops": "./bin/stack-ops.js" + "stack-ops": "bin/stack-ops.js" }, "files": [ "agents", @@ -65,8 +65,7 @@ }, "trustedDependencies": [], "publishConfig": { - "access": "public", - "provenance": true + "access": "public" }, "engines": { "node": ">=20"