diff --git a/.github/workflows/vercel-production.yml b/.github/workflows/vercel-production.yml index 2e5535c21e..c8e7505ac4 100644 --- a/.github/workflows/vercel-production.yml +++ b/.github/workflows/vercel-production.yml @@ -5,7 +5,7 @@ env: on: push: branches: - - master + - master-skip-releases jobs: Deploy-Production: runs-on: ubuntu-latest diff --git a/.gitignore b/.gitignore index bcd29b3a8f..7b9343c150 100644 --- a/.gitignore +++ b/.gitignore @@ -38,3 +38,4 @@ site/dist package-lock.json .tshy* dist +site/.dumi/ diff --git a/package.json b/package.json index 78bff2e611..5f9ee27230 100644 --- a/package.json +++ b/package.json @@ -69,6 +69,7 @@ "assert-file": "1", "coffee": "5", "cross-env": "7", + "dumi": "^2.4.17", "egg-plugin-puml": "^2.4.0", "egg-tracer": "^2.1.0", "egg-view-nunjucks": "^2.3.0", @@ -99,10 +100,8 @@ "ci": "egg-bin cov", "postci": "npm run prepublishOnly && npm run clean", "prepublishOnly": "tshy && tshy-after && attw --pack --profile node16", - "site:dev": "cross-env NODE_OPTIONS=--openssl-legacy-provider APP_ROOT=./site dumi dev", - "site:devWithNode14-16": "cross-env APP_ROOT=./site dumi dev", - "site:build": "cross-env NODE_OPTIONS=--openssl-legacy-provider APP_ROOT=./site dumi build", - "site:buildWithNode14-16": "cross-env APP_ROOT=./site dumi build", + "site:dev": "cross-env APP_ROOT=./site dumi dev", + "site:build": "cross-env APP_ROOT=./site dumi build", "site:prettier": "prettier --config site/.prettierrc --ignore-path site/.prettierignore --write \"site/**/*.{js,jsx,tsx,ts,less,md,json}\"", "puml": "puml . --dest ./site" }, diff --git a/site/config/config.ts b/site/config/config.ts index ba4c5d1350..a1ba0a96d8 100644 --- a/site/config/config.ts +++ b/site/config/config.ts @@ -88,7 +88,7 @@ export default defineConfig({ title: 'Community', list: [ { name: 'Artus.js 官网', url: 'https://artusjs.org' }, - { name: 'CNode 社区', url: 'https://cnodejs.org/' }, + { name: 'CNode 社区', url: 'https://cnodejs.org/' }, { name: 'Node.js 专栏', url: 'https://www.yuque.com/egg/nodejs' }, { name: '提交反馈',