chore: add dependencies, modify CI (#141)

pull/144/head
北雁云依 2023-08-25 13:08:05 +08:00 committed by GitHub
parent 66caa7f6b2
commit 0ebf909e22
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 74 additions and 6 deletions

View File

@ -1,4 +1,3 @@
name: 部署文档
on:
@ -20,8 +19,7 @@ jobs:
- uses: actions/setup-node@v3
with:
cache: pnpm
- run: pnpm install
- run: pnpm run build
- run: pnpm build
env:
NODE_OPTIONS: --max_old_space_size=4096
- uses: actions/upload-pages-artifact@v1
@ -39,4 +37,4 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
uses: actions/deploy-pages@v1

22
.github/workflows/test.yml vendored 100644
View File

@ -0,0 +1,22 @@
name: 测试
on:
push:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: pnpm/action-setup@v2
with:
version: latest
run_install: true
- uses: actions/setup-node@v3
with:
cache: pnpm
- run: pnpm build
env:
NODE_OPTIONS: --max_old_space_size=4096

View File

@ -9,7 +9,9 @@
"dev": "vuepress dev docs"
},
"devDependencies": {
"@types/markdown-it": "^13.0.0",
"@vuepress/client": "2.0.0-beta.62",
"markdown-it-pangu": "^1.0.2",
"vue": "^3.3.4",
"vuepress": "2.0.0-beta.62",
"vuepress-theme-hope": "2.0.0-beta.219"

View File

@ -1,13 +1,19 @@
lockfileVersion: '6.1'
lockfileVersion: '6.0'
settings:
autoInstallPeers: true
excludeLinksFromLockfile: false
devDependencies:
'@types/markdown-it':
specifier: ^13.0.0
version: 13.0.0
'@vuepress/client':
specifier: 2.0.0-beta.62
version: 2.0.0-beta.62
markdown-it-pangu:
specifier: ^1.0.2
version: 1.0.2
vue:
specifier: ^3.3.4
version: 3.3.4
@ -1860,7 +1866,7 @@ packages:
/@types/markdown-it-emoji@2.0.2:
resolution: {integrity: sha512-2ln8Wjbcj/0oRi/6VnuMeWEHHuK8uapFttvcLmDIe1GKCsFBLOLBX+D+xhDa9oWOQV0IpvxwrSfKKssAqqroog==}
dependencies:
'@types/markdown-it': 12.2.3
'@types/markdown-it': 13.0.0
dev: true
/@types/markdown-it@12.2.3:
@ -1870,6 +1876,13 @@ packages:
'@types/mdurl': 1.0.2
dev: true
/@types/markdown-it@13.0.0:
resolution: {integrity: sha512-mPTaUl5glYfzdJFeCsvhXQwZKdyszNAZcMm5ZTP5SfpTu+vIbog7J3z8Fa4x/Fzv5TB4R6OA/pHBYIYmkYOWGQ==}
dependencies:
'@types/linkify-it': 3.0.2
'@types/mdurl': 1.0.2
dev: true
/@types/mdast@3.0.11:
resolution: {integrity: sha512-Y/uImid8aAwrEA24/1tcRZwpxX3pIFTSilcNDKSPn+Y2iDywSEachzRuvgAYYLR3wpGXAsMbv5lvKLDZLeYPAw==}
dependencies:
@ -3259,6 +3272,10 @@ packages:
resolution: {integrity: sha512-ucAnuBEhUK4boH2HjVYG5Q2mQyPorvv0u/ocS+zhdw0S8AlHYY+GOFhP1Gio5z4icpP2ivFSvhtFjQi8+T9ppw==}
dev: true
/entities@1.1.2:
resolution: {integrity: sha512-f2LZMYl1Fzu7YSBKg+RoROelpOaNrcGmE9AZubeDfrCEia483oW4MI4VyFd5VNHIgQ/7qm1I0wUHK1eJnn2y2w==}
dev: true
/entities@3.0.1:
resolution: {integrity: sha512-WiyBqoomrwMdFG1e0kqvASYfnlb0lp8M5o5Fw2OFq1hNZxxcNk8Ik0Xm7LxzBhuidnZB/UtBqVCgUz3kBOP51Q==}
engines: {node: '>=0.12'}
@ -4108,6 +4125,12 @@ packages:
engines: {node: '>=10'}
dev: true
/linkify-it@2.2.0:
resolution: {integrity: sha512-GnAl/knGn+i1U/wjBz3akz2stz+HrHLsxMwHQGofCDfPvlf+gDKN58UtfmUquTY4/MXeE2x7k19KQmeoZi94Iw==}
dependencies:
uc.micro: 1.0.6
dev: true
/linkify-it@4.0.1:
resolution: {integrity: sha512-C7bfi1UZmoj8+PQx22XyeXCuBlokoyWQL5pWSP+EI6nzRylyThouddufc2c1NDIcP9k5agmN9fLpA7VNJfIiqw==}
dependencies:
@ -4221,6 +4244,13 @@ packages:
resolution: {integrity: sha512-zLftSaNrKuYl0kR5zm4gxXjHaOI3FAOEaloKmRA5hijmJZvSjmxcokOLlzycb/HXlUFWzXqpIEoyEMCE4i9MvQ==}
dev: true
/markdown-it-pangu@1.0.2:
resolution: {integrity: sha512-rssyYaMKXRLMpQIUgX01VE1KYOHhlnc4t5zGTI2zgXDpE88eQz8hywa0iSzoFm3eb5CYzFWazDKdUbnyZvW0SQ==}
dependencies:
markdown-it: 8.4.2
pangu: 4.0.7
dev: true
/markdown-it@13.0.1:
resolution: {integrity: sha512-lTlxriVoy2criHP0JKRhO2VDG9c2ypWCsT237eDiLqi09rmbKoUetyGHq2uOIRoRS//kfoJckS0eUzzkDR+k2Q==}
hasBin: true
@ -4232,6 +4262,17 @@ packages:
uc.micro: 1.0.6
dev: true
/markdown-it@8.4.2:
resolution: {integrity: sha512-GcRz3AWTqSUphY3vsUqQSFMbgR38a4Lh3GWlHRh/7MRwz8mcu9n2IO7HOh+bXHrR9kOPDl5RNCaEsrneb+xhHQ==}
hasBin: true
dependencies:
argparse: 1.0.10
entities: 1.1.2
linkify-it: 2.2.0
mdurl: 1.0.1
uc.micro: 1.0.6
dev: true
/marked@4.3.0:
resolution: {integrity: sha512-PRsaiG84bK+AMvxziE/lCFss8juXjNaWzVbN5tXAm4XjeaS9NAHhop+PjQxz2A9h8Q4M/xGmzP8vqNwy6JeK0A==}
engines: {node: '>= 12'}
@ -4669,6 +4710,11 @@ packages:
engines: {node: '>=6'}
dev: true
/pangu@4.0.7:
resolution: {integrity: sha512-weZKJIwwy5gjt4STGVUH9bix3BGk7wZ2ahtIypwe3e/mllsrIZIvtfLx1dPX56GcpZFOCFKmeqI1qVuB9enRzA==}
hasBin: true
dev: true
/parse5-htmlparser2-tree-adapter@7.0.0:
resolution: {integrity: sha512-B77tOZrqqfUfnVcOrUvfdLbz4pu4RopLD/4vmu3HUPswwTA8OH0EMW9BlWR2B0RCoiZRAHEUu7IxeP1Pd1UU+g==}
dependencies: