Skip to content

chore: use matrix for os #73

chore: use matrix for os

chore: use matrix for os #73

Workflow file for this run

name: Node.js CI
on: [push]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
ci:
name: Continuous Integration
strategy:
fail-fast: true
matrix:
os: [ubuntu-22.04, windows-2022]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
cache: 'pnpm'
- name: Installing dependencies
run: pnpm install
- name: Linting
run: pnpm lint
- name: Type checking
run: pnpm typecheck
- name: Testing
run: pnpm coverage
- name: Building
run: pnpm build