jan/.github/workflows/jan-docs-test.yml
hiento09 0cdff4f06b
Add docusaurus test build pipeline (#302)
Co-authored-by: Hien To <tominhhien97@gmail.com>
2023-10-09 09:23:25 +07:00

29 lines
642 B
YAML

name: Jan Docs Test Build
on:
pull_request:
branches:
- main
paths:
- 'docs/**'
- '.github/workflows/deploy-jan-docs.yml'
- '.github/workflows/jan-docs-test.yml'
jobs:
deploy:
name: Test Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
cache: 'yarn'
cache-dependency-path: './docs/yarn.lock'
- name: Install dependencies
run: yarn install
working-directory: docs
- name: Test Build Command
run: yarn build
working-directory: docs