Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 0 additions & 35 deletions .eslintrc.js

This file was deleted.

16 changes: 0 additions & 16 deletions .eslintrc.prepublish.js

This file was deleted.

29 changes: 29 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: CI

on:
pull_request:
push:
branches: [main]

permissions:
contents: read

jobs:
validate:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['22.22', '24']
steps:
- uses: actions/checkout@v5
- uses: actions/setup-node@v5
with:
node-version: ${{ matrix.node-version }}
cache: npm
- run: npm install --global npm@11.6.0
- run: npm ci
- run: npm run lint
- run: npm run typecheck
- run: npm test
- run: npm audit --omit=dev
- run: npm run check-package
19 changes: 0 additions & 19 deletions .github/workflows/npm-publish.yaml

This file was deleted.

31 changes: 31 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Publish

on:
push:
tags:
- '*.*.*'

permissions:
contents: read

jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v5
- uses: actions/setup-node@v5
with:
node-version: '24'
cache: npm
registry-url: https://registry.npmjs.org
- run: npm install --global npm@11.6.0
- run: npm ci
- run: npm run lint
- run: npm run typecheck
- run: npm test
- run: npm run check-package
- name: Publish with provenance
run: npm publish --provenance --access public
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ node_modules
.tmp
tmp
dist
.cache
npm-debug.log*
30 changes: 30 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Contributing

## Development setup

Use a supported Node version from the CI matrix and install the locked dependency tree:

```bash
npm ci
```

Keep changes focused and preserve the persisted `name`, resource, and operation values used by saved n8n workflows. API-version and legacy-value translations belong in the request-contract boundary rather than being duplicated across actions.

## Validation

Before opening a pull request, run:

```bash
npm run lint
npm run typecheck
npm test
npm audit --omit=dev
npm run check-package
git diff --check
```

Tests use Node's built-in test runner against clean compiled output. Add contract fixtures for request-shape, compatibility, webhook, or execution-semantics changes. Do not put credentials or live customer payloads in fixtures.

## Pull requests

Explain the user impact, compatibility boundary, and validation performed. Distinguish fixture/schema validation from authenticated live API validation. Do not publish a package from a pull-request branch.
Loading