mirror of
https://github.com/hay-kot/homebox.git
synced 2025-08-02 15:50:27 +00:00
do end-to-end testing
This commit is contained in:
parent
ad4c8c9ab4
commit
3f90f5e749
1 changed files with 10 additions and 9 deletions
19
.github/workflows/frontend.yaml
vendored
19
.github/workflows/frontend.yaml
vendored
|
@ -1,14 +1,8 @@
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [main]
|
branches: [main]
|
||||||
paths:
|
|
||||||
- "**.ts"
|
|
||||||
- "**.vue"
|
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [main]
|
branches: [main]
|
||||||
paths:
|
|
||||||
- "**.ts"
|
|
||||||
- "**.vue"
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
Frontend:
|
Frontend:
|
||||||
|
@ -18,6 +12,14 @@ jobs:
|
||||||
with:
|
with:
|
||||||
version: 6.0.2
|
version: 6.0.2
|
||||||
|
|
||||||
|
- name: Set up Go
|
||||||
|
uses: actions/setup-go@v2
|
||||||
|
with:
|
||||||
|
go-version: 1.18
|
||||||
|
|
||||||
|
- name: Install Task
|
||||||
|
uses: arduino/setup-task@v1
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
|
@ -27,6 +29,5 @@ jobs:
|
||||||
run: pnpm install
|
run: pnpm install
|
||||||
working-directory: frontend
|
working-directory: frontend
|
||||||
|
|
||||||
- name: Vitest
|
- name: Build API
|
||||||
run: pnpm test:ci
|
run: task test:integration
|
||||||
working-directory: frontend
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue