Bump @vitest/coverage-istanbul from 2.1.1 to 2.1.2 #1153
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: test | |
on: [push] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [ | |
# From https://github.com/nodejs/Release | |
"18.x", # EoL by 2025-04-30 | |
"20.x", # EoL by 2026-04-30 | |
"22.x", # EoL by 2027-04-30 | |
"latest", | |
] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: npm | |
- name: Install dependencies | |
run: npm ci | |
- name: Check TypeScript | |
run: npx tsc | |
- name: Run tests | |
run: npm run test | |
env: | |
CI: true | |
- name: Run linters | |
run: npm run lint | |
- name: Run NPM package lints | |
run: | | |
npm run build | |
npm run lint:package | |
# @arethetypeswrong/cli requires Node 18+, it seems? | |
# See https://github.com/arethetypeswrong/arethetypeswrong.github.io/issues/52 | |
if: ${{ matrix.node-version == '18.x' || matrix.node-version == 'latest' }} |