From ab05d5de8ae6a5c7ffe3a9b06665c64deb323443 Mon Sep 17 00:00:00 2001 From: Outsider Date: Tue, 26 Oct 2021 02:01:25 +0900 Subject: [PATCH 1/3] ci: add node 17 to build matrix Signed-off-by: Outsider --- .github/workflows/mocha.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/mocha.yml b/.github/workflows/mocha.yml index 686d599a77..654541f65a 100644 --- a/.github/workflows/mocha.yml +++ b/.github/workflows/mocha.yml @@ -32,6 +32,7 @@ jobs: - 12 - 14 - 16 + - 17 steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 From c4710814eeea8ef26904135d252a1f4e2b4a1f68 Mon Sep 17 00:00:00 2001 From: Outsider Date: Wed, 27 Oct 2021 19:00:28 +0900 Subject: [PATCH 2/3] ci: add node 17 to build matrix Signed-off-by: Outsider --- .github/workflows/mocha.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/mocha.yml b/.github/workflows/mocha.yml index 654541f65a..4be708c29d 100644 --- a/.github/workflows/mocha.yml +++ b/.github/workflows/mocha.yml @@ -77,6 +77,7 @@ jobs: - 12 - 14 - 16 + - 17 include: - os: ubuntu-latest node: 14 From d331adb6e299a6ec89ba40e845d614342068e0fc Mon Sep 17 00:00:00 2001 From: Outsider Date: Wed, 27 Oct 2021 19:00:44 +0900 Subject: [PATCH 3/3] ci: use node v16 as default version Signed-off-by: Outsider --- .github/workflows/mocha.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/mocha.yml b/.github/workflows/mocha.yml index 4be708c29d..9a8b535fe5 100644 --- a/.github/workflows/mocha.yml +++ b/.github/workflows/mocha.yml @@ -48,15 +48,15 @@ jobs: steps: - uses: actions/setup-node@v2 with: - node-version: 14 + node-version: 16 - uses: actions/checkout@v2 - name: 'Cache node_modules' uses: actions/cache@v2 with: path: '~/.npm' - key: "ubuntu-latest-node-v14-${{ hashFiles('**/package-lock.json') }}" + key: "ubuntu-latest-node-v16-${{ hashFiles('**/package-lock.json') }}" restore-keys: | - ubuntu-latest-node-v14- + ubuntu-latest-node-v16- - name: Install Dependencies run: npm ci --ignore-scripts - name: 'Check lint' @@ -80,7 +80,7 @@ jobs: - 17 include: - os: ubuntu-latest - node: 14 + node: 16 env: COVERAGE: 1 steps: @@ -183,7 +183,7 @@ jobs: steps: - uses: actions/setup-node@v2 with: - node-version: 14 + node-version: 16 - uses: actions/checkout@v2 - name: 'Cache node_modules' uses: actions/cache@v2 @@ -191,9 +191,9 @@ jobs: path: '~/.npm' # this key is different than above, since we are running scripts # (builds, postinstall lifecycle hooks, etc.) - key: "ubuntu-latest-node-full-v14-${{ hashFiles('**/package-lock.json') }}" + key: "ubuntu-latest-node-full-v16-${{ hashFiles('**/package-lock.json') }}" restore-keys: | - ubuntu-latest-node-full-v14- + ubuntu-latest-node-full-v16- - name: Install Dependencies run: npm ci - name: Run Browser Tests