Skip to content

[DEVEX-130] Add documentation static website initial structure #7

[DEVEX-130] Add documentation static website initial structure

[DEVEX-130] Add documentation static website initial structure #7

name: Validate GitHub Pages Website
on:
pull_request:
branches:
- main
paths:
- "website/**"
env:
WORKING_DIR: ./website
defaults:
run:
working-directory: ./website
jobs:
test-deploy:
name: Test deployment
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup yarn
run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: 18
cache: yarn
cache-dependency-path: ${{ env.WORKING_DIR }}/yarn.lock
- name: Install dependencies
run: yarn install --immutable
- name: Test build website
run: yarn build