2022-09-03 09:30:45 +00:00
|
|
|
on:
|
2022-09-03 09:36:48 +00:00
|
|
|
push:
|
|
|
|
branches: [main]
|
|
|
|
pull_request:
|
|
|
|
branches: [main]
|
2022-09-03 09:30:45 +00:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
Frontend:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-09-04 03:06:55 +00:00
|
|
|
- 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
|
|
|
|
|
2022-09-03 09:30:45 +00:00
|
|
|
- uses: pnpm/action-setup@v2.2.2
|
|
|
|
with:
|
|
|
|
version: 6.0.2
|
|
|
|
|
2022-09-04 02:45:10 +00:00
|
|
|
- name: Set up Go
|
|
|
|
uses: actions/setup-go@v2
|
|
|
|
with:
|
|
|
|
go-version: 1.18
|
|
|
|
|
2022-09-04 02:47:53 +00:00
|
|
|
- uses: actions/setup-node@v3
|
|
|
|
with:
|
|
|
|
node-version: 18
|
|
|
|
|
|
|
|
- uses: pnpm/action-setup@v2.2.2
|
|
|
|
with:
|
|
|
|
version: 6.0.2
|
2022-09-04 02:45:10 +00:00
|
|
|
|
2022-09-03 09:30:45 +00:00
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
|
|
|
|
|
|
|
- name: Install dependencies
|
|
|
|
run: pnpm install
|
2022-09-03 09:31:38 +00:00
|
|
|
working-directory: frontend
|
2022-09-03 09:30:45 +00:00
|
|
|
|
2022-09-04 03:06:55 +00:00
|
|
|
- name: Run Integration Tests
|
|
|
|
run: task test:integration
|