-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Realsee CI Bot
committed
Jan 14, 2025
0 parents
commit ee0f2d2
Showing
453 changed files
with
200,242 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
name: Deploy github pages | ||
on: | ||
push: | ||
branches: [main] | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Use Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 20 | ||
|
||
- name: Sleep | ||
run: sleep 20s | ||
|
||
- name: Build | ||
run: | | ||
npm install | ||
npm run build | ||
mkdir -p _site | ||
cp -r open-works _site/ | ||
cp -r dist/* _site/ | ||
cp -r test-report _site/ | ||
touch _site/.nojekyll | ||
- name: Upload artifact | ||
uses: actions/upload-pages-artifact@v2 | ||
|
||
deploy: | ||
needs: build | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read | ||
pages: write | ||
id-token: write | ||
environment: | ||
name: github-pages | ||
url: ${{steps.deployment.outputs.page_url}} | ||
steps: | ||
- name: Deploy to GitHub Pages | ||
id: deployment | ||
uses: actions/deploy-pages@v2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
pnpm-debug.log* | ||
lerna-debug.log* | ||
|
||
node_modules | ||
dist | ||
dist-ssr | ||
*.local | ||
|
||
# Editor directories and files | ||
.vscode/* | ||
!.vscode/extensions.json | ||
.idea | ||
.DS_Store | ||
*.suo | ||
*.ntvs* | ||
*.njsproj | ||
*.sln | ||
*.sw? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
strict-peer-dependencies=false | ||
legacy-peer-deps=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
module.exports = { | ||
semi: false, // 句末不使用分号 | ||
trailingComma: 'all', // 多行时尽可能打印尾随逗号 | ||
singleQuote: true, // 单引号 | ||
printWidth: 140, // 单行最大长度 | ||
tabWidth: 2, | ||
arrowParens: 'always', // 单参数箭头函数参数周围使用圆括号-eg: (x) => x | ||
bracketSpacing: true, // 在对象前后添加空格-eg: { foo: bar } | ||
embeddedLanguageFormatting: 'auto', // 对引用代码进行格式化 | ||
endOfLine: 'lf', // 结束行形式 | ||
htmlWhitespaceSensitivity: 'css', // 对 HTML 标签空白敏感 | ||
insertPragma: false, // 在已被 prettier 格式化的文件顶部加上标注 | ||
jsxBracketSameLine: false, // 多属性html标签的 '>' 不折行放置 | ||
jsxSingleQuote: false, // jsx中使用单引号 | ||
proseWrap: 'preserve', | ||
quoteProps: 'as-needed', // 仅在必需时为对象的 key 添加引号 | ||
useTabs: false, // 使用空格代替tab缩进 | ||
} |
Oops, something went wrong.