build(deps-dev): bump vite from 5.4.2 to 5.4.6 #828
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
- pull_request | |
- push | |
jobs: | |
lint: | |
if: | |
github.event_name != 'pull_request' || | |
github.event.pull_request.head.repo.full_name != | |
github.event.pull_request.base.repo.full_name | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
cache: npm | |
node-version: 22 | |
- name: Install dependencies | |
run: npm ci | |
- name: Lint | |
run: npm run lint:ci | |
- name: Typecheck | |
run: npm run typecheck | |
- name: Spellcheck | |
run: npm run spellcheck:ci | |
test: | |
if: | |
github.event_name != 'pull_request' || | |
github.event.pull_request.head.repo.full_name != | |
github.event.pull_request.base.repo.full_name | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
cache: npm | |
node-version: ${{ matrix.node }} | |
- name: Install dependencies | |
run: npm ci | |
- name: Run tests | |
run: npm test | |
strategy: | |
fail-fast: true | |
matrix: | |
node: | |
- 18 | |
- 20 | |
- 22 | |
os: | |
- ubuntu-latest | |
- windows-latest | |
- macos-latest |