Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5385962c79 |
@@ -1,49 +0,0 @@
|
|||||||
name: Docker Build
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- master
|
|
||||||
- develop
|
|
||||||
pull_request:
|
|
||||||
branches:
|
|
||||||
- master
|
|
||||||
- develop
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
docker:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Login to Gitea Container Registry
|
|
||||||
if: github.event_name == 'push'
|
|
||||||
uses: docker/login-action@v3
|
|
||||||
with:
|
|
||||||
registry: gitea.forkless.com
|
|
||||||
username: ${{ secrets.GITEAUSER }}
|
|
||||||
password: ${{ secrets.GITEATOKEN }}
|
|
||||||
|
|
||||||
- name: Docker metadata
|
|
||||||
id: meta
|
|
||||||
uses: docker/metadata-action@v5
|
|
||||||
with:
|
|
||||||
images: gitea.forkless.com/forkless/mermaid-live-editor
|
|
||||||
tags: |
|
|
||||||
type=raw,value=latest,enable=${{ github.ref_name == 'master' }}
|
|
||||||
type=raw,value=nightly,enable=${{ github.ref_name == 'develop' }}
|
|
||||||
type=sha,prefix={{branch}}-
|
|
||||||
|
|
||||||
- name: Build and push
|
|
||||||
uses: docker/build-push-action@v5
|
|
||||||
with:
|
|
||||||
context: .
|
|
||||||
target: mermaid
|
|
||||||
push: ${{ github.event_name == 'push' }}
|
|
||||||
pull: true
|
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
|
||||||
labels: ${{ steps.meta.outputs.labels }}
|
|
||||||
build-args: |
|
|
||||||
MERMAID_RENDERER_URL=${{ vars.MERMAID_RENDERER_URL || 'https://mermaid.ink' }}
|
|
||||||
MERMAID_KROKI_RENDERER_URL=${{ vars.MERMAID_KROKI_RENDERER_URL || 'https://kroki.io' }}
|
|
||||||
MERMAID_IS_ENABLED_MERMAID_CHART_LINKS=false
|
|
||||||
@@ -12,7 +12,7 @@ jobs:
|
|||||||
name: 'Playwright Tests'
|
name: 'Playwright Tests'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: mcr.microsoft.com/playwright:v1.60.0-jammy
|
image: mcr.microsoft.com/playwright:v1.61.1-jammy
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
|
|||||||
+1
-1
@@ -1 +1 @@
|
|||||||
24.16.0
|
24.18.0
|
||||||
|
|||||||
+10
-10
@@ -33,9 +33,9 @@
|
|||||||
"@iconify-json/logos": "^1.2.11",
|
"@iconify-json/logos": "^1.2.11",
|
||||||
"@iconify-json/material-symbols": "^1.2.79",
|
"@iconify-json/material-symbols": "^1.2.79",
|
||||||
"@iconify-json/mdi": "^1.2.3",
|
"@iconify-json/mdi": "^1.2.3",
|
||||||
"@playwright/test": "^1.60.0",
|
"@playwright/test": "^1.61.1",
|
||||||
"@sveltejs/adapter-static": "^3.0.10",
|
"@sveltejs/adapter-static": "^3.0.10",
|
||||||
"@sveltejs/kit": "^2.63.1",
|
"@sveltejs/kit": "^2.67.0",
|
||||||
"@sveltejs/vite-plugin-svelte": "^7.1.2",
|
"@sveltejs/vite-plugin-svelte": "^7.1.2",
|
||||||
"@tailwindcss/typography": "^0.5.20",
|
"@tailwindcss/typography": "^0.5.20",
|
||||||
"@tailwindcss/vite": "^4.3.1",
|
"@tailwindcss/vite": "^4.3.1",
|
||||||
@@ -52,7 +52,7 @@
|
|||||||
"clsx": "^2.1.1",
|
"clsx": "^2.1.1",
|
||||||
"cssnano": "^8.0.2",
|
"cssnano": "^8.0.2",
|
||||||
"dotenv": "^17.4.2",
|
"dotenv": "^17.4.2",
|
||||||
"eslint": "^10.4.1",
|
"eslint": "^10.5.0",
|
||||||
"eslint-config-prettier": "^10.1.8",
|
"eslint-config-prettier": "^10.1.8",
|
||||||
"eslint-plugin-es": "^4.1.0",
|
"eslint-plugin-es": "^4.1.0",
|
||||||
"eslint-plugin-no-only-tests": "^3.4.0",
|
"eslint-plugin-no-only-tests": "^3.4.0",
|
||||||
@@ -60,7 +60,7 @@
|
|||||||
"eslint-plugin-svelte": "^3.19.0",
|
"eslint-plugin-svelte": "^3.19.0",
|
||||||
"eslint-plugin-tailwindcss": "^3.18.3",
|
"eslint-plugin-tailwindcss": "^3.18.3",
|
||||||
"eslint-plugin-unicorn": "^65.0.1",
|
"eslint-plugin-unicorn": "^65.0.1",
|
||||||
"globals": "^17.6.0",
|
"globals": "^17.7.0",
|
||||||
"husky": "^9.1.7",
|
"husky": "^9.1.7",
|
||||||
"jsdom": "^29.1.1",
|
"jsdom": "^29.1.1",
|
||||||
"lint-staged": "^17.0.7",
|
"lint-staged": "^17.0.7",
|
||||||
@@ -71,7 +71,7 @@
|
|||||||
"prettier-plugin-svelte": "^4.1.1",
|
"prettier-plugin-svelte": "^4.1.1",
|
||||||
"prettier-plugin-tailwindcss": "^0.8.0",
|
"prettier-plugin-tailwindcss": "^0.8.0",
|
||||||
"svelte": "^5.56.3",
|
"svelte": "^5.56.3",
|
||||||
"svelte-check": "^4.6.0",
|
"svelte-check": "^4.7.1",
|
||||||
"svelte-preprocess": "^6.0.5",
|
"svelte-preprocess": "^6.0.5",
|
||||||
"svelte-sonner": "^1.1.1",
|
"svelte-sonner": "^1.1.1",
|
||||||
"tailwind-merge": "^3.6.0",
|
"tailwind-merge": "^3.6.0",
|
||||||
@@ -80,9 +80,9 @@
|
|||||||
"tslib": "^2.8.1",
|
"tslib": "^2.8.1",
|
||||||
"tw-animate-css": "^1.4.0",
|
"tw-animate-css": "^1.4.0",
|
||||||
"typescript": "^6.0.3",
|
"typescript": "^6.0.3",
|
||||||
"typescript-eslint": "^8.60.1",
|
"typescript-eslint": "^8.62.0",
|
||||||
"unplugin-icons": "^23.0.1",
|
"unplugin-icons": "^23.0.1",
|
||||||
"vite": "^8.0.16",
|
"vite": "^8.1.0",
|
||||||
"vite-plugin-devtools-json": "^1.0.0",
|
"vite-plugin-devtools-json": "^1.0.0",
|
||||||
"vitest": "^4.1.9",
|
"vitest": "^4.1.9",
|
||||||
"vitest-dom": "^0.1.1"
|
"vitest-dom": "^0.1.1"
|
||||||
@@ -92,7 +92,7 @@
|
|||||||
"@codemirror/lang-markdown": "^6.5.0",
|
"@codemirror/lang-markdown": "^6.5.0",
|
||||||
"@codemirror/lang-yaml": "^6.1.3",
|
"@codemirror/lang-yaml": "^6.1.3",
|
||||||
"@codemirror/language": "^6.12.3",
|
"@codemirror/language": "^6.12.3",
|
||||||
"@codemirror/state": "^6.6.0",
|
"@codemirror/state": "^6.7.0",
|
||||||
"@codemirror/view": "^6.43.1",
|
"@codemirror/view": "^6.43.1",
|
||||||
"@fontsource-variable/recursive": "^5.2.8",
|
"@fontsource-variable/recursive": "^5.2.8",
|
||||||
"@fsegurai/codemirror-theme-vscode-dark": "^6.2.6",
|
"@fsegurai/codemirror-theme-vscode-dark": "^6.2.6",
|
||||||
@@ -109,7 +109,7 @@
|
|||||||
"mermaid": "^11.15.0",
|
"mermaid": "^11.15.0",
|
||||||
"mode-watcher": "^1.1.0",
|
"mode-watcher": "^1.1.0",
|
||||||
"monaco-editor": "0.55.1",
|
"monaco-editor": "0.55.1",
|
||||||
"pako": "2.1.0",
|
"pako": "2.2.0",
|
||||||
"plausible-tracker": "^0.3.9",
|
"plausible-tracker": "^0.3.9",
|
||||||
"random-word-slugs": "0.1.7",
|
"random-word-slugs": "0.1.7",
|
||||||
"svg-pan-zoom": "3.6.2",
|
"svg-pan-zoom": "3.6.2",
|
||||||
@@ -123,7 +123,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=24.16.0"
|
"node": ">=24.18.0"
|
||||||
},
|
},
|
||||||
"packageManager": "pnpm@10.34.4+sha512.8768be55200ae3f2226b6527fcca2687e14bc4e5f12d7721a0f25da3df47915177058648db4177baf348120fa0ba2752d8d8d93f6beaf1fe64ae18da8de961af",
|
"packageManager": "pnpm@10.34.4+sha512.8768be55200ae3f2226b6527fcca2687e14bc4e5f12d7721a0f25da3df47915177058648db4177baf348120fa0ba2752d8d8d93f6beaf1fe64ae18da8de961af",
|
||||||
"pnpm": {
|
"pnpm": {
|
||||||
|
|||||||
Generated
+348
-348
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user