Tweak engines.node
from 20.8.0 β 20.9.0
#702
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: Cross-OS Tests | |
on: | |
push: | |
branches: | |
- '**' | |
tags: | |
- '!**' | |
pull_request: | |
workflow_dispatch: | |
env: | |
GITHUB_TOKEN: 1 | |
GITLAB_TOKEN: 1 | |
permissions: | |
contents: read | |
jobs: | |
test: | |
strategy: | |
matrix: | |
os: | |
- ubuntu-latest | |
- windows-latest | |
- macos-latest | |
node: | |
- 18 | |
- 20 | |
- 22 | |
runs-on: ${{ matrix.os }} | |
name: ${{ matrix.os }} (Node v${{ matrix.node }}) | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node }} | |
- run: git config --global user.name User | |
- run: git config --global user.email user@example.org | |
- run: npm install --legacy-peer-deps | |
- run: npm test |