mirror of
https://github.com/evroon/bracket.git
synced 2026-01-19 11:38:53 -05:00
34 lines
601 B
YAML
34 lines
601 B
YAML
name: docs test
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
paths:
|
|
- 'docs/**'
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-22.04
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Setup yarn
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: '18'
|
|
cache: 'yarn'
|
|
cache-dependency-path: frontend/yarn.lock
|
|
|
|
- name: Install npm modules
|
|
run: yarn
|
|
working-directory: docs
|
|
|
|
- name: Run tests
|
|
run: yarn test-check
|
|
working-directory: docs
|
|
|
|
- name: Build docs
|
|
run: yarn build
|
|
working-directory: docs
|