Skip to content

Commit b3213b4

Browse files
committed
chore(workflows/website-pr): add workflow to test documentation build on pull-request
1 parent 527682d commit b3213b4

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/website-pr.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Test Github Pages for PR
2+
3+
on:
4+
pull_request:
5+
6+
permissions:
7+
contents: read
8+
9+
jobs:
10+
website:
11+
permissions:
12+
contents: read # for actions/checkout to fetch code
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v4
16+
- name: Use Node.js 18
17+
uses: actions/setup-node@v4
18+
with:
19+
node-version: 18.x
20+
- name: Install Dependencies
21+
run: yarn --cwd=website install --frozen-lockfile
22+
- name: Build the Website
23+
run: yarn --cwd=website run build

0 commit comments

Comments
 (0)