Skip to content

docs: expand SECURITY.md for GitHub security policy #25

docs: expand SECURITY.md for GitHub security policy

docs: expand SECURITY.md for GitHub security policy #25

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
name: test (node ${{ matrix.node }} on ${{ matrix.os }})
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
node: ["20", "22"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 10
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: pnpm
- name: Install
run: pnpm install --frozen-lockfile=false
- name: Typecheck
run: pnpm typecheck
- name: Test
run: pnpm test
- name: Build
run: pnpm build
- name: Smoke-test the CLI
shell: bash
run: |
node bin/tooltrim --version
node bin/tooltrim measure --config examples/demo.config.json