Skip to content

chore(deps-dev): bump vitest from 4.1.0 to 4.1.2 (#14) #48

chore(deps-dev): bump vitest from 4.1.0 to 4.1.2 (#14)

chore(deps-dev): bump vitest from 4.1.0 to 4.1.2 (#14) #48

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
jobs:
build-and-test:
name: Lint, Build & Test
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20, 22]
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: Lint (type-check)
run: npm run lint
- name: Build
run: npm run build
- name: Test
run: npm test
secret-scan:
name: Secret Scan
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Run gitleaks
uses: gitleaks/gitleaks-action@v2
env:
GITLEAKS_LICENSE: ${{ secrets.GITLEAKS_LICENSE }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
continue-on-error: true
- name: Grep-based secret scan (fallback)
run: bash scripts/scan-secrets.sh