This commit is contained in:
parent
e7798ac2fa
commit
306d6e6ec8
3 changed files with 48 additions and 3 deletions
18
.gitea/workflows/ci.yml
Normal file
18
.gitea/workflows/ci.yml
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
container:
|
||||||
|
image: mcr.microsoft.com/playwright:latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- name: Set up Node
|
||||||
|
uses: actions/setup-node@v4
|
||||||
|
with:
|
||||||
|
node-version: latest
|
||||||
|
- name: Install dependencies
|
||||||
|
run: npm ci
|
||||||
|
- name: Build site
|
||||||
|
run: npm run build
|
27
package-lock.json
generated
27
package-lock.json
generated
|
@ -9,6 +9,7 @@
|
||||||
"@iconify-json/mdi": "^1.1.66",
|
"@iconify-json/mdi": "^1.1.66",
|
||||||
"@slidev/cli": "^0.48.8",
|
"@slidev/cli": "^0.48.8",
|
||||||
"@slidev/theme-default": "latest",
|
"@slidev/theme-default": "latest",
|
||||||
|
"playwright-chromium": "^1.44.0",
|
||||||
"slidev-addon-qrcode": "^1.0.2",
|
"slidev-addon-qrcode": "^1.0.2",
|
||||||
"vue": "^3.4.21"
|
"vue": "^3.4.21"
|
||||||
}
|
}
|
||||||
|
@ -6635,6 +6636,32 @@
|
||||||
"resolved": "https://registry.npmjs.org/plantuml-encoder/-/plantuml-encoder-1.4.0.tgz",
|
"resolved": "https://registry.npmjs.org/plantuml-encoder/-/plantuml-encoder-1.4.0.tgz",
|
||||||
"integrity": "sha512-sxMwpDw/ySY1WB2CE3+IdMuEcWibJ72DDOsXLkSmEaSzwEUaYBT6DWgOfBiHGCux4q433X6+OEFWjlVqp7gL6g=="
|
"integrity": "sha512-sxMwpDw/ySY1WB2CE3+IdMuEcWibJ72DDOsXLkSmEaSzwEUaYBT6DWgOfBiHGCux4q433X6+OEFWjlVqp7gL6g=="
|
||||||
},
|
},
|
||||||
|
"node_modules/playwright-chromium": {
|
||||||
|
"version": "1.44.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/playwright-chromium/-/playwright-chromium-1.44.0.tgz",
|
||||||
|
"integrity": "sha512-eae4op9jfzyybPfBOcS2o/EtrIT00OCBTLIA9EJz7sOfHwtUFY+H1XRTRdFD/j93tSS80uY8gyts+lX0zHYiHg==",
|
||||||
|
"hasInstallScript": true,
|
||||||
|
"dependencies": {
|
||||||
|
"playwright-core": "1.44.0"
|
||||||
|
},
|
||||||
|
"bin": {
|
||||||
|
"playwright": "cli.js"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">=16"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/playwright-core": {
|
||||||
|
"version": "1.44.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.44.0.tgz",
|
||||||
|
"integrity": "sha512-ZTbkNpFfYcGWohvTTl+xewITm7EOuqIqex0c7dNZ+aXsbrLj0qI8XlGKfPpipjm0Wny/4Lt4CJsWJk1stVS5qQ==",
|
||||||
|
"bin": {
|
||||||
|
"playwright-core": "cli.js"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">=16"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/points-on-curve": {
|
"node_modules/points-on-curve": {
|
||||||
"version": "0.2.0",
|
"version": "0.2.0",
|
||||||
"resolved": "https://registry.npmjs.org/points-on-curve/-/points-on-curve-0.2.0.tgz",
|
"resolved": "https://registry.npmjs.org/points-on-curve/-/points-on-curve-0.2.0.tgz",
|
||||||
|
|
|
@ -3,14 +3,14 @@
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "slidev build",
|
"build": "slidev build --dark --download",
|
||||||
"start": "slidev",
|
"start": "slidev"
|
||||||
"export": "slidev export"
|
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@iconify-json/mdi": "^1.1.66",
|
"@iconify-json/mdi": "^1.1.66",
|
||||||
"@slidev/cli": "^0.48.8",
|
"@slidev/cli": "^0.48.8",
|
||||||
"@slidev/theme-default": "latest",
|
"@slidev/theme-default": "latest",
|
||||||
|
"playwright-chromium": "^1.44.0",
|
||||||
"slidev-addon-qrcode": "^1.0.2",
|
"slidev-addon-qrcode": "^1.0.2",
|
||||||
"vue": "^3.4.21"
|
"vue": "^3.4.21"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue