forked from mirrors/homebox
125b8f5ecd
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
42 lines
834 B
YAML
42 lines
834 B
YAML
name: Frontend / E2E
|
|
|
|
on:
|
|
workflow_call:
|
|
|
|
jobs:
|
|
Frontend:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Install Task
|
|
uses: arduino/setup-task@v1
|
|
with:
|
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
- name: Set up Go
|
|
uses: actions/setup-go@v3
|
|
with:
|
|
go-version: 1.19
|
|
|
|
- uses: actions/setup-node@v3
|
|
with:
|
|
node-version: 18
|
|
|
|
- uses: pnpm/action-setup@v2.2.4
|
|
with:
|
|
version: 6.0.2
|
|
|
|
- name: Install dependencies
|
|
run: pnpm install
|
|
working-directory: frontend
|
|
|
|
- name: Run linter 👀
|
|
run: pnpm lint
|
|
working-directory: "frontend"
|
|
|
|
- name: Run Integration Tests
|
|
run: task test:ci
|