Skip to content

Bump vite in the npm_and_yarn group across 1 directory #5

Bump vite in the npm_and_yarn group across 1 directory

Bump vite in the npm_and_yarn group across 1 directory #5

Workflow file for this run

name: CI
# Runs on GitHub Actions.
on:
push:
pull_request:
# Least privilege: this workflow only reads the repo to type-check, test, and build it.
permissions:
contents: read
jobs:
build-and-test:
# Build is OS-independent (Vite + tsc), so a single Linux runner is enough.
# The matrix backs up the "Node 18+" support claim in CONTRIBUTING.md.
strategy:
fail-fast: false
matrix:
node: [20, 22]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- name: Set up Node ${{ matrix.node }}
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: ${{ matrix.node }}
cache: npm
- name: Install dependencies
run: npm ci
- name: Type-check
run: npx tsc --noEmit
- name: Test
run: npm test
- name: Build (multi-file + single-file)
run: npm run build