Skip to content

ci: run tests on Node 18 and 20 #18

ci: run tests on Node 18 and 20

ci: run tests on Node 18 and 20 #18

name: Build and test 🔧💉
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: yarn install --frozen-lockfile
- name: Run the tests 👀
run: yarn test