chore(deps-dev): bump vite from 5.2.11 to 5.3.2 #214
Workflow file for this run
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: | |
push: | |
branches: | |
- main | |
pull_request: | |
concurrency: | |
group: test-${{ github.head_ref }} | |
cancel-in-progress: true | |
jobs: | |
Build: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v4 | |
with: | |
version: 7 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
- run: | | |
pnpm install | |
pnpm --filter=avivator build | |
Lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: biomejs/setup-biome@v2 | |
with: | |
version: latest | |
- run: biome ci . | |
Test: | |
runs-on: ubuntu-20.04 | |
env: | |
DISPLAY: :0 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '18.x' | |
- uses: pnpm/action-setup@v4 | |
id: pnpm-install | |
with: | |
version: 7 | |
run_install: true | |
- name: Setup xvf (Linux) | |
if: runner.os == 'Linux' | |
run: | | |
sudo apt-get install -y xvfb | |
# start xvfb in the background | |
sudo /usr/bin/Xvfb $DISPLAY -screen 0 1280x1024x24 & | |
- run: pnpm test |