feat: 新增一些文档 #44
Workflow file for this run
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
# 构建Docker镜像 | |
name: Code-CI | |
## 触发条件 | |
on: | |
# 手动触发部署 | |
workflow_dispatch: | |
pull_request: | |
branches: | |
- 'master' | |
- 'next' | |
- '!pages/**' | |
jobs: | |
Code-CI: | |
runs-on: ubuntu-latest | |
permissions: | |
actions: read | |
pull-requests: read | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Install Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 14.20.1 | |
- name: PNPM Install | |
uses: pnpm/action-setup@v2 | |
with: | |
version: 7 | |
run_install: true | |
- name: Code Eslint Fix | |
run: pnpm lintfix | |
- name: Build Site | |
run: pnpm build |