mirror of
https://git.vectorsigma.ru/public/atlantis.git
synced 2026-08-05 06:18:54 +00:00
fix: add mermaid config (#4643)
Signed-off-by: Rui Chen <rui@chenrui.dev>
This commit is contained in:
2
.github/labeler.yml
vendored
2
.github/labeler.yml
vendored
@@ -42,4 +42,4 @@ website:
|
||||
- changed-files:
|
||||
- any-glob-to-any-file: 'runatlantis.io/.vitepress/**/*'
|
||||
- any-glob-to-any-file: 'package.json'
|
||||
- any-glob-to-any-file: 'pnpm-lock.yaml'
|
||||
- any-glob-to-any-file: 'package-lock.json'
|
||||
|
||||
2
.github/renovate.json5
vendored
2
.github/renovate.json5
vendored
@@ -18,7 +18,7 @@
|
||||
postUpdateOptions: [
|
||||
'gomodTidy',
|
||||
'gomodUpdateImportPaths',
|
||||
'pnpmDedupe',
|
||||
'npmDedupe',
|
||||
],
|
||||
prHourlyLimit: 1,
|
||||
minimumReleaseAge: '5 days',
|
||||
|
||||
16
.github/workflows/website.yml
vendored
16
.github/workflows/website.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user