svgl/.github/workflows/check-app.yml
2024-04-20 20:29:59 +01:00

51 lines
909 B
YAML

name: ⚙️ Check app
on:
push:
branches:
- main
- next
pull_request:
branches:
- main
- next
jobs:
vitest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup pnpm 8
uses: pnpm/action-setup@v2
with:
version: 8
- name: Install dependencies
run: pnpm install
- name: Run Vitest
run: pnpm test
svgs-size:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup pnpm 8
uses: pnpm/action-setup@v2
with:
version: 8
- name: Install dependencies
run: pnpm install
working-directory: ./check-size
- name: Check svgs size
run: pnpm start
working-directory: ./check-size
build-app:
runs-on: ubuntu-latest
steps:
- name: Build
run: pnpm onlybuild