Skip to content

chore: formatting and comments #5

chore: formatting and comments

chore: formatting and comments #5

Workflow file for this run

name: 🧪 Test
on:
push:
branches:
- master
pull_request:
branches:
- master
workflow_dispatch: {}
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
name: "🧪 Test: (Node: ${{ matrix.node }})"
strategy:
fail-fast: false
matrix:
node:
- 22
- 24
runs-on: ubuntu-latest
steps:
- name: ⬇️ Checkout repo
uses: actions/checkout@v5
- name: ⎔ Setup node
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: npm
- name: 📥 Install deps
run: npm ci
- name: 🏗 Build
run: npm run build
- name: 🔬 Lint
run: npm run lint
- name: 🧪 Run tests
run: npm run -- test --project test