-
Notifications
You must be signed in to change notification settings - Fork 2
54 lines (46 loc) · 1.05 KB
/
verify-fe.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
43
44
45
46
47
48
49
50
51
52
53
54
---
name: Verify Frontend
permissions:
contents: read
on:
push:
branches: [main]
paths:
- "web/app/**/*.json"
- "web/app/**/*.cjs"
- "web/app/**/*.ts"
- "web/app/**/*.js"
- "web/app/**/*.svelte"
pull_request:
branches: [main]
paths:
- "web/app/**/*.json"
- "web/app/**/*.cjs"
- "web/app/**/*.ts"
- "web/app/**/*.js"
- "web/app/**/*.svelte"
schedule:
- cron: "0 10 * * 1"
workflow_call:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
verify:
name: Verify Frontend
runs-on: ubuntu-latest
timeout-minutes: 5
strategy:
fail-fast: true
steps:
- name: Check out code
uses: actions/checkout@v3
- name: Install Go
uses: actions/setup-go@v4
with:
go-version-file: "go.mod"
cache-dependency-path: "go.sum"
- name: Install dependencies
run: "go install github.com/caarlos0/svu@latest"
- name: Run make verify-fe
run: make verify-fe