Fix test and lint. #7
This file contains hidden or 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: | |
default: | |
strategy: | |
matrix: | |
node: | |
- 18 | |
- 20 | |
- 22 | |
os: | |
# - macOS-latest | |
# - windows-latest # I don't have a Windows machine to debug | |
- ubuntu-latest | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup target Node.js to enable Corepack | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node }} | |
- name: Setup Node.js ${{ matrix.node }} with cache | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node }} | |
cache: yarn | |
- name: Install Dependencies | |
run: yarn | |
- name: Build, Lint and Test | |
run: yarn run-s build lint test | |
env: | |
EFF_NO_LINK_RULES: true | |
PARSER_NO_WATCH: true |