mirror of
https://github.com/evroon/bracket.git
synced 2026-01-07 05:30:25 -05:00
37 lines
648 B
YAML
37 lines
648 B
YAML
name: docs test
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
pull_request:
|
|
paths:
|
|
- 'docs/**'
|
|
push:
|
|
branches:
|
|
- 'master'
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-24.04
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Setup yarn
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: '22'
|
|
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
|