Skip to content

Add zero-to-hero technical teardown #599

Add zero-to-hero technical teardown

Add zero-to-hero technical teardown #599

Workflow file for this run

name: CI
on:
push:
branches: [main, git-mind-v2]
pull_request:
branches: [main]
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [22, 24]
env:
GIT_AUTHOR_NAME: CI
GIT_AUTHOR_EMAIL: ci@localhost
GIT_COMMITTER_NAME: CI
GIT_COMMITTER_EMAIL: ci@localhost
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Run linter
run: npm run lint
- name: Run tests with coverage
run: npx vitest run --coverage
- name: Upload coverage report
if: always()
uses: actions/upload-artifact@v4
with:
name: coverage-${{ matrix.node-version }}
path: coverage/lcov.info