homebox/.github/workflows/frontend.yaml
Hayden 7ccd48ad79
ci: end-to-end CI testing (#1)
* do end-to-end testing

* set node version

* build then start

* remove test restrictions

* panic if mime type fails

* use timeout
2022-09-03 19:06:55 -08:00

37 lines
714 B
YAML

on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
Frontend:
runs-on: ubuntu-latest
steps:
- name: Install Task
uses: arduino/setup-task@v1
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.18
- uses: actions/setup-node@v3
with:
node-version: 18
- 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: Run Integration Tests
run: task test:integration