From 72e4b5394df3d05b6d1eabddbba6029e1dde5daf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=94=AF=E7=84=B6?= Date: Wed, 20 Oct 2021 17:54:49 +0800 Subject: [PATCH] fix: npm install --force when node v17 --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e660e2867d1..c42851218d1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -43,10 +43,10 @@ jobs: - name: Install Packages run: npm install # TODO(btmills): Remove Node 16 --force branching after releasing v8.0.0 final. - if: ${{ !startswith(matrix.node, '16') }} + if: ${{ !startswith(matrix.node, '16') && !startswith(matrix.node, '17') }} - name: Install Packages run: npm install --force - if: ${{ startswith(matrix.node, '16') }} + if: ${{ startswith(matrix.node, '16') || startswith(matrix.node, '17') }} - name: Test run: node Makefile mocha - name: Fuzz Test