forked from mirrors/homebox
508e2e59bd
* refactor and add repo tests * add CI name * use atomic for test shutdown * use go 1.19 * add timeout
52 lines
1,001 B
YAML
52 lines
1,001 B
YAML
name: Frontend / Integration
|
|
|
|
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.19
|
|
|
|
- uses: actions/setup-node@v3
|
|
with:
|
|
node-version: 18
|
|
|
|
- uses: pnpm/action-setup@v2.2.2
|
|
with:
|
|
version: 6.0.2
|
|
|
|
- name: Set up Go
|
|
uses: actions/setup-go@v2
|
|
with:
|
|
go-version: 1.19
|
|
|
|
- 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
|