From 5ccf5e3eccde211634ce54846c311efb5316cf9d Mon Sep 17 00:00:00 2001 From: Daniel Lando Date: Tue, 22 Oct 2024 14:53:47 +0200 Subject: [PATCH] fix: failing node 16 ci --- .github/workflows/ci.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a10a95701..e04ca51b9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,7 +24,12 @@ jobs: path: ~/.pkg-cache/ key: ${{ matrix.os }}-${{ matrix.node-version }} - - run: yarn install + - if: matrix['node-version'] == '16.x' + # some modules like tar require node 18 + run: yarn install --ignore-engines + - if: matrix['node-version'] != '16.x' + run: yarn install + - if: matrix['node-version'] == '18.x' && matrix['os'] == 'ubuntu-latest' run: yarn lint - run: yarn build