mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-12 23:35:58 +00:00
refactor documentation check workflow
This commit is contained in:
parent
d0eedae61d
commit
68c8128405
23
.github/workflows/check-documentation.yml
vendored
23
.github/workflows/check-documentation.yml
vendored
@ -29,7 +29,8 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@master
|
||||
- name: Check Markdown Links
|
||||
|
||||
- name: Check Markdown Links
|
||||
uses: gaurav-nelson/github-action-markdown-link-check@master
|
||||
with:
|
||||
use-quiet-mode: 'yes'
|
||||
@ -39,3 +40,23 @@ jobs:
|
||||
config-file: '.github/workflows/mlc_config.json'
|
||||
base-branch: 'master'
|
||||
folder-path: '.'
|
||||
|
||||
test-vuepress-build:
|
||||
name: Test Vuepress build
|
||||
needs: files-changed
|
||||
runs-on: ubuntu-latest
|
||||
if: needs.files-changed.outputs.vuepress == 'true'
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@master
|
||||
|
||||
- name: Setup Node 20
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '20'
|
||||
|
||||
- name: yarn-install
|
||||
run: yarn install
|
||||
|
||||
- name: yarn-docs:build
|
||||
run: yarn run docs:build
|
||||
|
||||
@ -27,6 +27,7 @@
|
||||
"scripts": {
|
||||
"db:seed": "cd backend && yarn run db:seed",
|
||||
"db:reset": "cd backend && yarn run db:reset",
|
||||
"docs:build": "NODE_OPTIONS=--openssl-legacy-provider vuepress build docs",
|
||||
"cypress:run": "cypress run --e2e --browser electron --config-file ./cypress/cypress.config.js",
|
||||
"cypress:open": "cypress open --e2e --browser electron --config-file ./cypress/cypress.config.js",
|
||||
"cucumber:setup": "cd backend && yarn run dev",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user