Skip to content
This repository was archived by the owner on Mar 7, 2025. It is now read-only.

Commit ba8b190

Browse files
committed
Simplify CI
1 parent 4a6bc07 commit ba8b190

File tree

1 file changed

+4
-36
lines changed

1 file changed

+4
-36
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -8,27 +8,16 @@ on:
88

99
jobs:
1010
build:
11-
runs-on: ${{ matrix.os }}
12-
strategy:
13-
matrix:
14-
os: [ubuntu-latest, macos-latest, windows-latest]
15-
node: [12.x, 14.x, 15.x]
16-
fail-fast: false
11+
runs-on: ubuntu-latest
1712

1813
steps:
19-
- name: Set git to use LF on Windows
20-
if: matrix.os == 'windows-latest'
21-
run: |
22-
git config --global core.autocrlf false
23-
git config --global core.eol lf
24-
2514
- name: Checkout
2615
uses: actions/checkout@v2
2716

28-
- name: Set node version to ${{ matrix.node }}
29-
uses: actions/setup-node@v1
17+
- name: Set node version to 14
18+
uses: actions/setup-node@v2
3019
with:
31-
node-version: ${{ matrix.node }}
20+
node-version: 14
3221

3322
- name: Versions
3423
run: yarn versions
@@ -37,28 +26,7 @@ jobs:
3726
run: yarn install --frozen-lockfile
3827

3928
- name: Lint
40-
if: matrix.os == 'ubuntu-latest' && matrix.node == '14.x'
4129
run: yarn lint
4230

4331
- name: Build
4432
run: yarn build
45-
46-
- name: Test
47-
run: yarn jest --ci --silent --reporters=default --reporters=jest-junit
48-
49-
- name: Upload test artifact
50-
uses: actions/upload-artifact@v2
51-
if: ${{ always() }}
52-
with:
53-
name: JUnit_${{ matrix.os }}_${{ matrix.node }}_${{ github.sha }}
54-
path: junit.xml
55-
56-
- name: Audit dependencies
57-
run: yarn audit --groups dependencies
58-
59-
- name: Audit peerDependencies
60-
run: yarn audit --groups peerDependencies
61-
62-
- name: Check outdated dependencies
63-
if: github.ref == 'refs/heads/main'
64-
run: yarn outdated

0 commit comments

Comments
 (0)