-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (41 loc) · 1.03 KB
/
ci-cd-frontend.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: Frontend Pipeline
on:
workflow_call:
push:
paths-ignore:
- "backend/**"
pull_request:
paths-ignore:
- "backend/**"
jobs:
frontend:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: "8"
- name: Install dotnet wasm-tools
run: dotnet workload install wasm-tools
- name: Setup
working-directory: ./frontend
run: "yarn"
- name: Lint
working-directory: ./frontend
run: "yarn lint:ci"
- name: Dependency Check
working-directory: ./frontend
run: "yarn deps:check"
- name: Check i18n
working-directory: ./frontend
run: "yarn i18n:check"
- name: Format
working-directory: ./frontend
run: "yarn format:ci"
- name: Test
working-directory: ./frontend
run: "yarn test:unit"
- name: Build
working-directory: ./frontend
run: "yarn build"