mirror of
https://github.com/142vip/408CSFamily.git
synced 2026-04-09 13:38:36 +08:00
feat: update ci
This commit is contained in:
7
.github/workflows/code-ci.yml
vendored
7
.github/workflows/code-ci.yml
vendored
@@ -20,8 +20,11 @@ jobs:
|
||||
pull-requests: read
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
- name: checkout code
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
# “最近更新时间” 等 git 日志相关信息,需要拉取全部提交记录
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Install Node.js
|
||||
uses: actions/setup-node@v3
|
||||
@@ -34,7 +37,7 @@ jobs:
|
||||
version: 7
|
||||
run_install: true
|
||||
|
||||
- name: Code Eslint Fix
|
||||
- name: Code ESlint Fix
|
||||
run: pnpm lintfix
|
||||
- name: Build Site
|
||||
run: pnpm build
|
||||
|
||||
Reference in New Issue
Block a user