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",