2023-06-01 17:21:31 +03:00
|
|
|
name: CI Docs
|
|
|
|
on:
|
|
|
|
push:
|
2023-06-27 18:55:07 +03:00
|
|
|
branches:
|
|
|
|
- main
|
2023-09-17 02:33:23 +03:00
|
|
|
pull_request:
|
2023-06-01 17:21:31 +03:00
|
|
|
jobs:
|
|
|
|
docs-build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2023-11-07 01:31:26 +03:00
|
|
|
- name: Cancel Previous Runs
|
|
|
|
uses: styfle/cancel-workflow-action@0.11.0
|
|
|
|
with:
|
|
|
|
access_token: ${{ github.token }}
|
2023-09-17 02:33:23 +03:00
|
|
|
- uses: actions/checkout@v4
|
2023-06-01 17:21:31 +03:00
|
|
|
- name: Setup Node.js
|
|
|
|
uses: actions/setup-node@v3
|
|
|
|
with:
|
|
|
|
node-version: "18"
|
|
|
|
- name: Docs / Install Dependencies
|
2023-06-14 17:56:29 +03:00
|
|
|
run: cd docs && yarn
|
2023-06-01 17:21:31 +03:00
|
|
|
- name: Docs / Build Documentation
|
2023-06-14 17:56:29 +03:00
|
|
|
run: cd docs && yarn build
|