|
6 | 6 | - beta |
7 | 7 |
|
8 | 8 | jobs: |
9 | | - CheckCode: |
10 | | - name: Lint Code |
11 | | - runs-on: ubuntu-latest |
12 | | - steps: |
13 | | - - name: Check out git repository |
14 | | - uses: actions/checkout@v3 |
15 | | - |
16 | | - - name: Install Node.js |
17 | | - uses: actions/setup-node@v3 |
18 | | - with: |
19 | | - node-version: '16' |
20 | | - |
21 | | - - name: Cache file |
22 | | - uses: actions/cache@v3 |
23 | | - with: |
24 | | - path: | |
25 | | - node_modules |
26 | | - $HOME/.cache/electron |
27 | | - $HOME/.cache/electron-builder |
28 | | - $HOME/.npm/_prebuilds |
29 | | - key: ${{ runner.os }}-build-caches-${{ hashFiles('**/package-lock.json') }} |
30 | | - restore-keys: | |
31 | | - ${{ runner.os }}-build- |
32 | | -
|
33 | | - - name: Install Dependencies |
34 | | - run: | |
35 | | - npm ci |
36 | | -
|
37 | | - - name: Lint src code |
38 | | - run: npm run lint |
| 9 | + # CheckCode: |
| 10 | + # name: Lint Code |
| 11 | + # runs-on: ubuntu-latest |
| 12 | + # steps: |
| 13 | + # - name: Check out git repository |
| 14 | + # uses: actions/checkout@v3 |
| 15 | + |
| 16 | + # - name: Install Node.js |
| 17 | + # uses: actions/setup-node@v3 |
| 18 | + # with: |
| 19 | + # node-version: '16' |
| 20 | + |
| 21 | + # - name: Cache file |
| 22 | + # uses: actions/cache@v3 |
| 23 | + # with: |
| 24 | + # path: | |
| 25 | + # node_modules |
| 26 | + # $HOME/.cache/electron |
| 27 | + # $HOME/.cache/electron-builder |
| 28 | + # $HOME/.npm/_prebuilds |
| 29 | + # key: ${{ runner.os }}-build-caches-${{ hashFiles('**/package-lock.json') }} |
| 30 | + # restore-keys: | |
| 31 | + # ${{ runner.os }}-build- |
| 32 | + |
| 33 | + # - name: Install Dependencies |
| 34 | + # run: | |
| 35 | + # npm ci |
| 36 | + |
| 37 | + # - name: Lint src code |
| 38 | + # run: npm run lint |
39 | 39 |
|
40 | 40 | Windows: |
41 | 41 | name: Windows |
42 | 42 | runs-on: windows-latest |
43 | | - needs: CheckCode |
| 43 | + # needs: CheckCode |
44 | 44 | steps: |
45 | 45 | - name: Check out git repository |
46 | 46 | uses: actions/checkout@v3 |
@@ -133,7 +133,7 @@ jobs: |
133 | 133 | Mac: |
134 | 134 | name: Mac |
135 | 135 | runs-on: macos-latest |
136 | | - needs: CheckCode |
| 136 | + # needs: CheckCode |
137 | 137 | steps: |
138 | 138 | - name: Check out git repository |
139 | 139 | uses: actions/checkout@v3 |
@@ -191,7 +191,7 @@ jobs: |
191 | 191 | Linux: |
192 | 192 | name: Linux |
193 | 193 | runs-on: ubuntu-latest |
194 | | - needs: CheckCode |
| 194 | + # needs: CheckCode |
195 | 195 | steps: |
196 | 196 | - name: Install package |
197 | 197 | run: sudo apt-get update && sudo apt-get install -y rpm libarchive-tools |
|
0 commit comments