Skip to content

chore: update @openally/config.eslint to v2.x #848

chore: update @openally/config.eslint to v2.x

chore: update @openally/config.eslint to v2.x #848

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: [20.x, 22.x]
os: [ubuntu-latest, macos-latest, windows-latest]
fail-fast: false
steps:
- name: Harden Runner
uses: step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0 # v2.12.0
with:
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm install
- name: Build
run: npm run build
- name: Run tests
run: npm run coverage
- name: Send coverage report to Codecov
uses: codecov/codecov-action@ad3126e916f78f00edff4ed0317cf185271ccc2d # v5.4.2