fix: add mermaid config (#4643)

Signed-off-by: Rui Chen <rui@chenrui.dev>
This commit is contained in:
Rui Chen
2024-06-09 19:34:20 -04:00
committed by GitHub
parent a4dd2bd83a
commit 91ff643727
13 changed files with 5050 additions and 36 deletions

View File

@@ -33,7 +33,7 @@ jobs:
filters: |
src:
- '**.js'
- 'pnpm-lock.yaml'
- 'package-lock.json'
- 'package.json'
- '.github/workflows/website.yml'
@@ -54,9 +54,11 @@ jobs:
config: .markdownlint.yaml
globs: 'runatlantis.io/**/*.md'
- uses: wyvox/action-setup-pnpm@6597ef5c1300fe08efa6bc75e6141f7153e2b4cc # v3
- name: setup npm
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4
with:
node-version: 20
node-version: '20'
cache: 'npm'
- name: run http-server
env:
@@ -67,16 +69,16 @@ jobs:
curl -Ls https://github.com/raviqqe/muffet/releases/download/v${MUFFET_VERSION}/muffet_linux_amd64.tar.gz | tar -xz
# build site
pnpm install
pnpm website:build
npm install
npm run website:build
# start http-server for integration testing
npx http-server runatlantis.io/.vitepress/dist &
- name: Run Playwright E2E tests
run: |
pnpx playwright install --with-deps
pnpm run e2e
npx playwright install --with-deps
npm run e2e
- name: wait until server listened
run: curl --retry-delay 1 --retry 30 --retry-all-error http://localhost:8080