From 1d26bc25c4437624b9d56619fb6d22133a2459a5 Mon Sep 17 00:00:00 2001 From: Kylejeong2 Date: Thu, 7 May 2026 10:18:23 -0700 Subject: [PATCH 1/4] fix: address n8n verification issues for 1.3.1 --- .github/workflows/publish.yml | 9 ++++++--- nodes/Browserbase/Browserbase.node.ts | 1 + package-lock.json | 4 ++-- package.json | 2 +- 4 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 5f2d257..de28efc 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,12 +1,15 @@ name: Publish to NPM on: - release: - types: [published] + push: + tags: + - 'v*' + workflow_dispatch: jobs: publish: runs-on: ubuntu-latest + if: startsWith(github.ref, 'refs/tags/v') || github.event_name == 'workflow_dispatch' permissions: contents: read id-token: write @@ -20,4 +23,4 @@ jobs: - run: npm ci - run: npm run build - - run: npm publish --provenance --access public \ No newline at end of file + - run: npm publish --provenance --access public diff --git a/nodes/Browserbase/Browserbase.node.ts b/nodes/Browserbase/Browserbase.node.ts index 5fb2ab6..38dc4f6 100644 --- a/nodes/Browserbase/Browserbase.node.ts +++ b/nodes/Browserbase/Browserbase.node.ts @@ -1169,6 +1169,7 @@ export class Browserbase implements INodeType { {}, ); } catch (cleanupError) { + // Best-effort session close after an error; ignore cleanup failures. void cleanupError; } } diff --git a/package-lock.json b/package-lock.json index fd7c2d9..71df801 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "n8n-nodes-browserbase", - "version": "1.3.0", + "version": "1.3.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "n8n-nodes-browserbase", - "version": "1.3.0", + "version": "1.3.1", "license": "MIT", "devDependencies": { "@n8n/node-cli": "*", diff --git a/package.json b/package.json index af93681..74bad20 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "n8n-nodes-browserbase", - "version": "1.3.0", + "version": "1.3.1", "description": "n8n community node for Browserbase agent, search, and fetch workflows", "license": "MIT", "homepage": "https://github.com/browserbase/n8n-node", From 87a68314e5e1727c449fd97206f81e186a4e0817 Mon Sep 17 00:00:00 2001 From: Kylejeong2 Date: Tue, 19 May 2026 16:02:50 -0700 Subject: [PATCH 2/4] chore: switch npm publish to trusted publishing --- .github/workflows/publish.yml | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index de28efc..5215f4b 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -23,4 +23,4 @@ jobs: - run: npm ci - run: npm run build - - run: npm publish --provenance --access public + - run: npm publish --access public diff --git a/package.json b/package.json index 74bad20..17d757a 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ }, "repository": { "type": "git", - "url": "https://github.com/browserbase/n8n-node" + "url": "git+https://github.com/browserbase/n8n-node.git" }, "scripts": { "build": "n8n-node build", From 97c814682021976d52ee618ab234d2ab5bb1aa30 Mon Sep 17 00:00:00 2001 From: Kylejeong2 Date: Tue, 19 May 2026 16:07:23 -0700 Subject: [PATCH 3/4] chore: restore explicit npm provenance publish --- .github/workflows/publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 5215f4b..de28efc 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -23,4 +23,4 @@ jobs: - run: npm ci - run: npm run build - - run: npm publish --access public + - run: npm publish --provenance --access public From f7185c703759262542d6038c8ca440b8e28b61f9 Mon Sep 17 00:00:00 2001 From: Kylejeong2 Date: Tue, 19 May 2026 16:18:21 -0700 Subject: [PATCH 4/4] chore: align publish workflow with npm trusted publishing --- .github/workflows/publish.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index de28efc..19b7f5e 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -14,12 +14,13 @@ jobs: contents: read id-token: write steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - - uses: actions/setup-node@v4 + - uses: actions/setup-node@v6 with: - node-version: '22' + node-version: '24' registry-url: 'https://registry.npmjs.org' + package-manager-cache: false - run: npm ci - run: npm run build