From c582836f340ea2057ab5b7a1e08cdf77fefe1eae Mon Sep 17 00:00:00 2001 From: alexv-ds Date: Tue, 9 Jul 2024 04:55:11 +0300 Subject: [PATCH 1/4] exclude node14 on macos --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 58151fb..597c709 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,6 +40,9 @@ jobs: matrix: node-version: [14, 16, 18] os: [macos-latest, ubuntu-latest] + exclude: + - os: macos-latest + node-version: 14 steps: - name: Check out repo uses: actions/checkout@v4 From cd0593ade1e3d19c39a89211d48dfd57398cd44f Mon Sep 17 00:00:00 2001 From: alexv-ds Date: Tue, 9 Jul 2024 04:56:02 +0300 Subject: [PATCH 2/4] enable setup-node caching --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 597c709..2b33fe4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -53,6 +53,7 @@ jobs: uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} + cache: 'npm' - name: Install dependencies run: npm i --ignore-scripts From a93131b8b69c3ccd5440a0934c74238cfe485580 Mon Sep 17 00:00:00 2001 From: alexv-ds Date: Tue, 9 Jul 2024 05:00:39 +0300 Subject: [PATCH 3/4] adding more node versions to CI --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2b33fe4..fca6a0e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -38,7 +38,7 @@ jobs: contents: read strategy: matrix: - node-version: [14, 16, 18] + node-version: [14, 16, 18, 20, "latest"] # add 22 when latest version becomes node-23 os: [macos-latest, ubuntu-latest] exclude: - os: macos-latest From 12dfb4a5c928aae87d5aa198454529ae5627f91f Mon Sep 17 00:00:00 2001 From: Alex Date: Mon, 22 Jul 2024 17:07:10 +0300 Subject: [PATCH 4/4] replace latest with 22 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fca6a0e..8041052 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -38,7 +38,7 @@ jobs: contents: read strategy: matrix: - node-version: [14, 16, 18, 20, "latest"] # add 22 when latest version becomes node-23 + node-version: [14, 16, 18, 20, 22] os: [macos-latest, ubuntu-latest] exclude: - os: macos-latest