-
Notifications
You must be signed in to change notification settings - Fork 6
35 lines (32 loc) · 861 Bytes
/
check.yml
File metadata and controls
35 lines (32 loc) · 861 Bytes
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
name: Check
on:
push:
branches: [master, renovate/**]
pull_request:
jobs:
check-node:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: pnpm/action-setup@v5
with:
version: 10.33
- uses: actions/setup-node@v6
with:
node-version: 24
cache: pnpm
cache-dependency-path: frontend/pnpm-lock.yaml
- run: pnpm install
working-directory: frontend
- run: pnpm run check
working-directory: frontend
check-go:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-go@v6
with:
go-version-file: go.mod
# Create a fake index.html file to satisfy the frontend embed
- run: mkdir -p frontend/dist && touch frontend/dist/index.html
- run: go test -v ./...