-
-
Notifications
You must be signed in to change notification settings - Fork 113
35 lines (30 loc) · 797 Bytes
/
github-pages-test.yml
File metadata and controls
35 lines (30 loc) · 797 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: GitHub Pages Test
on:
pull_request:
branches:
- main
defaults:
run:
working-directory: ./website
jobs:
build:
name: Build Docusaurus
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 20
cache: yarn
- name: Install prettier-plugin-java dependencies
working-directory: ./packages/prettier-plugin-java
run: yarn install --frozen-lockfile
- name: Build prettier-plugin-java
working-directory: ./packages/prettier-plugin-java
run: yarn build
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Test build website
run: yarn build