Skip to content

πŸ— node versions in actions β€” 18 and 20 #106

πŸ— node versions in actions β€” 18 and 20

πŸ— node versions in actions β€” 18 and 20 #106

Workflow file for this run

name: CI
on:
- push
- pull_request
jobs:
test:
name: Node.js ${{ matrix.node-version }}
runs-on: ubuntu-latest
strategy:
# `fail-fast` is set to `false` because we won't know which Node versions are failing and which are passing
fail-fast: false
matrix:
node-version:
- 18
- 20
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: yarn install
- run: yarn test