Older node versions do not provide named process in node:process
fi…
#25
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
- push | |
- pull_request | |
jobs: | |
test: | |
name: Node.js ${{ matrix.node-version }} on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
node-version: [ 20, 21, 22, 23 ] | |
os: | |
- ubuntu-latest | |
- macos-latest | |
# Windows fails and I don't have time to look into it. PR welcome. | |
# - windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install dependencies | |
run: yarn install --ignore-engines | |
- name: Code quality | |
run: yarn biome ci . | |
- name: Test | |
run: yarn test |