mirror of
https://github.com/hay-kot/homebox.git
synced 2024-12-22 06:46:32 +00:00
32 lines
572 B
YAML
32 lines
572 B
YAML
on:
|
|
push:
|
|
branches: [main]
|
|
paths:
|
|
- "**.ts"
|
|
- "**.vue"
|
|
pull_request:
|
|
branches: [main]
|
|
paths:
|
|
- "**.ts"
|
|
- "**.vue"
|
|
|
|
jobs:
|
|
Frontend:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: pnpm/action-setup@v2.2.2
|
|
with:
|
|
version: 6.0.2
|
|
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Install dependencies
|
|
run: pnpm install
|
|
working-directory: frontend
|
|
|
|
- name: Vitest
|
|
run: pnpm test:ci
|
|
working-directory: frontend
|