-
-
Notifications
You must be signed in to change notification settings - Fork 152
35 lines (32 loc) · 767 Bytes
/
Copy pathtest-frontend.yml
File metadata and controls
35 lines (32 loc) · 767 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: Frontend build
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
frontend-build:
name: Build frontend
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./atcoder-problems-frontend
shell: bash
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 8.15.9
- uses: actions/setup-node@v4
with:
node-version: 24
cache: pnpm
cache-dependency-path: ./atcoder-problems-frontend/pnpm-lock.yaml
- uses: peaceiris/actions-mdbook@v2
with:
mdbook-version: "0.4.40"
- run: pnpm install --frozen-lockfile
- run: pnpm run build
- run: pnpm run lint