Skip to content

chore: update Node.js versions to v20 and v22 (#70) #193

chore: update Node.js versions to v20 and v22 (#70)

chore: update Node.js versions to v20 and v22 (#70) #193

Workflow file for this run

name: Node.js CI
on:
push:
branches: main
pull_request:
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x, 22.x]
fail-fast: false
steps:
- name: Harden Runner
uses: step-security/harden-runner@f086349bfa2bd1361f7909c78558e816508cdc10 # v2.8.0
with:
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
- name: checkout
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- name: "@nodesecure/ci analysis"
uses: ./
with:
warnings: warning