|
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 |
0 commit comments