From 6ba68ee83071cf09fe7147e806a4d813fe3b1c58 Mon Sep 17 00:00:00 2001 From: Bryan Frimin Date: Tue, 2 Dec 2025 14:35:38 +0100 Subject: [PATCH] Enable trusted publisher Signed-off-by: Bryan Frimin --- .github/workflows/release.yaml | 4 ---- packages/n8n-node/package.json | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index ff33540d7..5e7ace20e 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -132,8 +132,6 @@ jobs: node-version-file: ".nvmrc" cache: "npm" registry-url: "https://registry.npmjs.org" - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - run: npm ci - run: npm --workspace @probo/n8n-nodes-probo run build @@ -162,8 +160,6 @@ jobs: - run: npm --workspace @probo/n8n-nodes-probo publish --access public --dry-run - run: npm --workspace @probo/n8n-nodes-probo publish --access public - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - uses: actions/attest-sbom@v1 with: diff --git a/packages/n8n-node/package.json b/packages/n8n-node/package.json index 8fa7fdece..b3c9c4baa 100644 --- a/packages/n8n-node/package.json +++ b/packages/n8n-node/package.json @@ -8,7 +8,7 @@ "dev": "n8n-node dev", "lint": "n8n-node lint", "lint:fix": "n8n-node lint --fix", - "release": "n8n-node release", + "release": "npm run build && npm run lint && npm publish --access public", "prepublishOnly": "npm run build && npm run lint" }, "author": {