From 69f12ce29f8940f7f2f9ccc163f980289627428a Mon Sep 17 00:00:00 2001 From: fisker Date: Wed, 22 Apr 2020 21:23:25 +0800 Subject: [PATCH 1/4] Chore: Run tests on Node.js v14 --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 12b6565457e..b605f4601ff 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,20 +26,20 @@ jobs: strategy: matrix: os: [ubuntu-latest, windows-latest, macOS-latest] - node: [13.x, 12.x, 10.x, "10.12.0"] + node: [14.x, 12.x, 10.x, "10.12.0"] exclude: - os: windows-latest node: "10.12.0" - os: windows-latest node: 10.x - os: windows-latest - node: 13.x + node: 12.x - os: macOS-latest node: "10.12.0" - os: macOS-latest node: 10.x - os: macOS-latest - node: 13.x + node: 12.x runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v1 From a29e31206c655f339102e0043a23b5c3487897fe Mon Sep 17 00:00:00 2001 From: fisker Cheung Date: Thu, 23 Apr 2020 08:08:52 +0800 Subject: [PATCH 2/4] Run tests on v12 --- .github/workflows/ci.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b605f4601ff..86abd59fea5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,14 +32,10 @@ jobs: node: "10.12.0" - os: windows-latest node: 10.x - - os: windows-latest - node: 12.x - os: macOS-latest node: "10.12.0" - os: macOS-latest node: 10.x - - os: macOS-latest - node: 12.x runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v1 From 082588ed721f6fb9d72e672b4d3994fb2cf1456a Mon Sep 17 00:00:00 2001 From: fisker Date: Thu, 23 Apr 2020 13:00:07 +0800 Subject: [PATCH 3/4] Add 13.x back, exclude 14.x on windows/mac --- .github/workflows/ci.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 86abd59fea5..fac3197af33 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,16 +26,24 @@ jobs: strategy: matrix: os: [ubuntu-latest, windows-latest, macOS-latest] - node: [14.x, 12.x, 10.x, "10.12.0"] + node: [14.x, 13.x, 12.x, 10.x, "10.12.0"] exclude: - os: windows-latest node: "10.12.0" - os: windows-latest node: 10.x + - os: windows-latest + node: 13.x + - os: windows-latest + node: 14.x - os: macOS-latest node: "10.12.0" - os: macOS-latest node: 10.x + - os: macOS-latest + node: 13.x + - os: macOS-latest + node: 14.x runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v1 From 146cefa27b719fd22f3cbad5cdaeff4b883d5599 Mon Sep 17 00:00:00 2001 From: fisker Date: Thu, 23 Apr 2020 18:04:24 +0800 Subject: [PATCH 4/4] Simplify matrix --- .github/workflows/ci.yml | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fac3197af33..5de92c0f123 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,25 +25,13 @@ jobs: name: Test strategy: matrix: - os: [ubuntu-latest, windows-latest, macOS-latest] + os: [ubuntu-latest] node: [14.x, 13.x, 12.x, 10.x, "10.12.0"] - exclude: + include: - os: windows-latest - node: "10.12.0" - - os: windows-latest - node: 10.x - - os: windows-latest - node: 13.x - - os: windows-latest - node: 14.x - - os: macOS-latest - node: "10.12.0" - - os: macOS-latest - node: 10.x - - os: macOS-latest - node: 13.x + node: "12.x" - os: macOS-latest - node: 14.x + node: "12.x" runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v1