fix: share multiple nevers #97
Workflow file for this run
This file contains 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] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
env: | |
ETZ: 0 | |
jobs: | |
test: | |
name: Node.js v${{ matrix.nodejs }} (${{ matrix.os }}) | |
timeout-minutes: 5 | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
nodejs: [18, 20] | |
os: [ubuntu-latest, macOS-latest] | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.nodejs }} | |
- name: Install pnpm | |
run: npm install -g pnpm | |
- name: Install dependencies | |
run: pnpm install | |
- name: Build | |
run: pnpm build | |
- name: Format | |
run: pnpm format --check | |
- name: Lint | |
run: pnpm lint --no-fix | |
- name: Typecheck | |
run: pnpm typecheck | |
- name: Test | |
run: pnpm test -- --coverage |