Skip to content

Update CI actions to Node 24 runtimes #2

Update CI actions to Node 24 runtimes

Update CI actions to Node 24 runtimes #2

Workflow file for this run

name: Public safety
on:
pull_request:
push:
workflow_dispatch:
permissions:
contents: read
jobs:
verify:
runs-on: ubuntu-latest
steps:
- name: Check out full history
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
with:
fetch-depth: 0
- name: Set up Node.js
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7
with:
node-version: 24
cache: npm
- name: Install dependencies
run: npm ci
- name: Reject personal configuration
run: npm run check:release
- name: Scan Git history for secrets
uses: gitleaks/gitleaks-action@e0c47f4f8be36e29cdc102c57e68cb5cbf0e8d1e # v3.0.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Reject high-severity production vulnerabilities
run: npm audit --omit=dev --audit-level=high
- name: Verify project
run: npm run typecheck && npm test && npm run build