From c3c6bef9062e0ad7d16017c0d564ae122be35e2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=94=AF=E7=84=B6?= Date: Wed, 20 Oct 2021 17:15:12 +0800 Subject: [PATCH 1/2] Build: add node v17 --- .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 56dcf00485a..e660e2867d1 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" 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 2/2] 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