Skip to content

feat: add TypeScript type annotation tests with node 22 snapshots #34

feat: add TypeScript type annotation tests with node 22 snapshots

feat: add TypeScript type annotation tests with node 22 snapshots #34

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
env:
YARN_ENABLE_GLOBAL_CACHE: false
jobs:
code-quality:
name: Code Quality
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Biome CLI
uses: biomejs/setup-biome@v2
- name: Run Biome
run: biome ci
build-and-test:
needs: code-quality
strategy:
fail-fast: false
matrix:
node:
- 20
platform:
- ubuntu-latest
- macos-latest
- windows-latest
name: "${{matrix.platform}} w/ Node.js ${{matrix.node}}.x"
runs-on: ${{matrix.platform}}
steps:
- uses: actions/checkout@v4
- name: "Use Node.js ${{matrix.node}}.x"
uses: actions/setup-node@v4
with:
node-version: ${{matrix.node}}.x
- run: npm install
- run: npm run build
- run: npm test