chore(deps-dev): bump vite from 2.9.18 to 3.2.11 in /examples/react #24
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: Build & Test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v2 | |
with: | |
version: 8 | |
run_install: false # Skip auto-install | |
- name: Cache pnpm dependencies | |
uses: actions/cache@v3 | |
with: | |
path: | | |
~/.pnpm-store | |
node_modules | |
key: ${{ runner.os }}-pnpm-${{ hashFiles('pnpm-lock.yaml') }} | |
restore-keys: | | |
${{ runner.os }}-pnpm- | |
- name: Install dependencies | |
run: | | |
pnpm install | |
sudo apt update -y > /dev/null && sudo apt install -y \ | |
libnss3 \ | |
libatk1.0-0 \ | |
libatk-bridge2.0-0 \ | |
libcups2 \ | |
libgbm1 \ | |
libasound2 \ | |
libpangocairo-1.0-0 \ | |
libxss1 \ | |
libgtk-3-0 > /dev/null | |
- name: Build project | |
run: pnpm build | |
- name: Run E2E tests | |
run: pnpm test:e2e |