Skip to content

CI: Test with nodejs 22, current active lts version #157

CI: Test with nodejs 22, current active lts version

CI: Test with nodejs 22, current active lts version #157

Workflow file for this run

name: Test
on:
push:
branches:
- master
pull_request:
env:
NODE_OPTIONS: --experimental-vm-modules
jobs:
test:
name: Test
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node_version: [ 18, 20, 22 ]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node_version }}
cache: "yarn"
- name: Install Dependencies
run: yarn install
- name: Can load prettier plugin properly
run: yarn prettier --version
- name: Run linter
run: yarn lint
- name: Run Test
run: yarn test