From 1b87fa835892d9da3b945db763196715d8088090 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=94=AF=E7=84=B6?= Date: Thu, 21 Oct 2021 18:59:51 +0800 Subject: [PATCH] Build: add node v17 (#15193) * Build: add node v17 * fix: npm install --force when node v17 --- .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 56dcf00485a..c42851218d1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,7 +28,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - node: [16.x, 14.x, 12.x, "12.22.0"] + node: [17.x, 16.x, 14.x, 12.x, "12.22.0"] include: - os: windows-latest node: "12.x" @@ -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