Skip to content

Commit a4c9848

Browse files
committed
ci: update
1 parent 38fe853 commit a4c9848

File tree

2 files changed

+58
-58
lines changed

2 files changed

+58
-58
lines changed

.github/workflows/check.yml

Lines changed: 57 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -1,57 +1,57 @@
1-
name: Check
2-
3-
on:
4-
push:
5-
branches:
6-
- dev
7-
- main
8-
paths-ignore:
9-
- '**.md'
10-
pull_request:
11-
branches:
12-
- dev
13-
- main
14-
workflow_dispatch:
15-
16-
jobs:
17-
check:
18-
strategy:
19-
matrix:
20-
os: [ubuntu-latest, windows-latest, macos-latest]
21-
node: ['12', '14']
22-
23-
runs-on: ${{ matrix.os }}
24-
25-
steps:
26-
- uses: actions/checkout@v2
27-
28-
- name: Use Node.js ${{ matrix.node }}
29-
uses: actions/setup-node@v2.4.0
30-
with:
31-
node-version: ${{ matrix.node }}
32-
33-
- name: Cache pnpm modules
34-
uses: actions/cache@v2
35-
with:
36-
path: ~/.pnpm-store
37-
key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
38-
restore-keys: |
39-
${{ runner.os }}-
40-
41-
- name: Install dependencies
42-
uses: pnpm/action-setup@v2.0.1
43-
with:
44-
version: 6.0.2
45-
run_install: true
46-
47-
- name: Lint
48-
run: pnpm lint
49-
50-
- name: Build docs with webpack
51-
run: pnpm build
52-
53-
# - name: Build docs with vite
54-
# run: pnpm build:vite
55-
56-
- name: Test
57-
run: pnpm test
1+
# name: Check
2+
3+
# on:
4+
# push:
5+
# branches:
6+
# - dev
7+
# - main
8+
# paths-ignore:
9+
# - '**.md'
10+
# pull_request:
11+
# branches:
12+
# - dev
13+
# - main
14+
# workflow_dispatch:
15+
16+
# jobs:
17+
# check:
18+
# strategy:
19+
# matrix:
20+
# os: [ubuntu-latest, windows-latest, macos-latest]
21+
# node: ['12', '14']
22+
23+
# runs-on: ${{ matrix.os }}
24+
25+
# steps:
26+
# - uses: actions/checkout@v2
27+
28+
# - name: Use Node.js ${{ matrix.node }}
29+
# uses: actions/setup-node@v2.4.0
30+
# with:
31+
# node-version: ${{ matrix.node }}
32+
33+
# - name: Cache pnpm modules
34+
# uses: actions/cache@v2
35+
# with:
36+
# path: ~/.pnpm-store
37+
# key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
38+
# restore-keys: |
39+
# ${{ runner.os }}-
40+
41+
# - name: Install dependencies
42+
# uses: pnpm/action-setup@v2.0.1
43+
# with:
44+
# version: 6.0.2
45+
# run_install: true
46+
47+
# - name: Lint
48+
# run: pnpm lint
49+
50+
# - name: Build docs with webpack
51+
# run: pnpm build
52+
53+
# # - name: Build docs with vite
54+
# # run: pnpm build:vite
55+
56+
# - name: Test
57+
# run: pnpm test

.github/workflows/pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
run_install: true
4545

4646
# 运行构建脚本
47-
- name: Build VitePress site
47+
- name: Build
4848
run: pnpm build
4949

5050
- name: Deploy to GitHub Pages

0 commit comments

Comments
 (0)