Skip to content

chore(deps): bump github/codeql-action from 2.20.1 to 2.21.5 (#120) #49

chore(deps): bump github/codeql-action from 2.20.1 to 2.21.5 (#120)

chore(deps): bump github/codeql-action from 2.20.1 to 2.21.5 (#120) #49

Workflow file for this run

name: Node.js CI
on:
push:
branches: [master]
pull_request:
permissions:
contents: read
jobs:
test:
runs-on: ${{matrix.os}}
strategy:
matrix:
node-version: [16.x, 18.x, 20.x]
os: [ubuntu-latest, windows-latest, macos-latest]
fail-fast: false
steps:
- name: Harden Runner
uses: step-security/harden-runner@8ca2b8b2ece13480cda6dacd3511b49857a23c09 # v2.5.1
with:
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm i
- name: Run tests
run: npm run test