Skip to content

fix: security and connection-lifecycle hardening #25

fix: security and connection-lifecycle hardening

fix: security and connection-lifecycle hardening #25

Workflow file for this run

name: CI
on:
# Every branch, not just main and develop: a feature branch previously ran no CI at all,
# so a push had to become a PR before anything was checked.
push:
branches: ['**']
pull_request:
branches: [main]
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
ci:
name: Lint, build & test (Node ${{ matrix.node-version }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
# 20.6 is the floor (the dev scripts use --env-file); 24 is current.
node-version: ["20", "22", "24"]
steps:
- uses: actions/checkout@v5
- uses: pnpm/action-setup@v4
with:
version: 10
- uses: actions/setup-node@v5
with:
node-version: ${{ matrix.node-version }}
cache: "pnpm"
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Lint
run: pnpm lint
- name: Build
run: pnpm build
- name: Test
run: pnpm test
- name: Smoke test - help output
run: node dist/src/cli/main.js --help