-
-
Notifications
You must be signed in to change notification settings - Fork 20
30 lines (27 loc) · 770 Bytes
/
deploy-pages-test.yml
File metadata and controls
30 lines (27 loc) · 770 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
name: Test Deploy to GitHub Pages
on:
pull_request:
branches:
- main
# Review gh actions docs if you want to further define triggers, paths, etc
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#on
jobs:
test-deploy:
name: Test Deploy to GitHub Pages
runs-on: ubuntu-latest
defaults:
run:
working-directory: docs
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- uses: actions/setup-node@v6
with:
node-version: 24
cache: yarn
cache-dependency-path: 'docs/yarn.lock'
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Test build website
run: yarn build