Skip to content

refactor: test fixtures #140

refactor: test fixtures

refactor: test fixtures #140

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
branches:
- master
merge_group: {}
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set node
uses: actions/setup-node@v3
with:
node-version: 18.x
- name: Setup
run: npm i -g pnpm@8
- name: Install
run: pnpm i
- name: Build
run: pnpm run build
- name: Build eslint
run: pnpm run build:eslint
- name: Lint
run: pnpm run lint
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
node_version: [16, 18, 20]
include:
- os: macos-latest
node_version: 18
- os: windows-latest
node_version: 18
fail-fast: false
steps:
- name: Set git to use LF
run: |
git config --global core.autocrlf false
git config --global core.eol lf
- uses: actions/checkout@v3
- name: Set node ${{ matrix.node }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- name: Setup
run: npm i -g pnpm@8
- name: Install
run: pnpm i
- name: Build
run: pnpm run build
- name: Coverage
run: pnpm run coverage
- name: Typecheck
run: pnpm run typecheck