From 18daa6d1dd480ceab01d5ebbbf33f03ba6a1255b Mon Sep 17 00:00:00 2001 From: DanMaly Date: Fri, 13 Feb 2026 22:44:08 +0100 Subject: [PATCH] Switch release to npm OIDC trusted publishing --- .github/workflows/release.yml | 8 +++++++- .npmrc | 1 - package.json | 4 ++++ 3 files changed, 11 insertions(+), 2 deletions(-) delete mode 100644 .npmrc diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0ed4db7..8c3113e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,6 +24,12 @@ jobs: with: bun-version: latest + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: '22' + registry-url: 'https://registry.npmjs.org' + - name: Install Dependencies run: bun install @@ -34,7 +40,7 @@ jobs: id: changesets uses: changesets/action@v1 with: - publish: bun changeset publish + publish: npx changeset publish version: bun changeset version env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.npmrc b/.npmrc deleted file mode 100644 index 268c392..0000000 --- a/.npmrc +++ /dev/null @@ -1 +0,0 @@ -provenance=true diff --git a/package.json b/package.json index bcbf510..c303a08 100644 --- a/package.json +++ b/package.json @@ -2,6 +2,10 @@ "name": "shpeck", "version": "0.2.0", "description": "Spec-Driven Development workflow CLI (Bun)", + "repository": { + "type": "git", + "url": "https://github.com/DanielMaly/shpeck.git" + }, "type": "module", "bin": { "shpeck": "bin/shpeck.ts"