-
Notifications
You must be signed in to change notification settings - Fork 21
38 lines (30 loc) · 936 Bytes
/
website-test.yml
File metadata and controls
38 lines (30 loc) · 936 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
36
37
38
name: Website Test
on:
merge_group:
types: [ checks_requested ]
pull_request:
branches:
- main
jobs:
website-test:
runs-on: ubuntu-24.04
steps:
- name: Checkout Repository
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
- name: Setup Gradle
uses: gradle/actions/setup-gradle@50e97c2cd7a37755bbfafc9c5b7cafaece252f6e # v6.1.0
- name: Generate OpenAPI spec
run: ./gradlew --stacktrace :core:generateOpenApiSpec
- name: Install Node
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: 24
cache-dependency-path: website/pnpm-lock.yaml
- name: Enable Corepack
run: corepack enable
- name: Install dependencies
working-directory: website
run: pnpm install --frozen-lockfile
- name: Test build
working-directory: website
run: pnpm build