Skip to content

docs: add website structure and config #2

docs: add website structure and config

docs: add website structure and config #2

name: Website test deployment
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 deployment
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- name: Install yarn
run: npm install -g yarn
- name: Install dependencies
run: |
cd website
yarn install --frozen-lockfile
- name: Test build
run: |
cd website
yarn build