From 5da3c50ca349dfd9c5a86bf3a6d5d5674ae96f86 Mon Sep 17 00:00:00 2001 From: Bryan Wendlandt <74682355+bwendlandt-intel@users.noreply.github.com> Date: Tue, 30 Nov 2021 09:52:48 -0700 Subject: [PATCH] build(node): bump from 14.x to 16.x (#435) closes AB#4318 Co-authored-by: Mike --- .github/workflows/api-test.yml | 9 --------- .github/workflows/node.js.yml | 2 +- Dockerfile | 2 +- 3 files changed, 2 insertions(+), 11 deletions(-) diff --git a/.github/workflows/api-test.yml b/.github/workflows/api-test.yml index 4a34a88c2..7f6a89771 100644 --- a/.github/workflows/api-test.yml +++ b/.github/workflows/api-test.yml @@ -10,17 +10,8 @@ on: jobs: build: runs-on: ubuntu-latest - - strategy: - matrix: - node-version: [12.x, 14.x, 15.x] - steps: - uses: actions/checkout@v2 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 - with: - node-version: ${{ matrix.node-version }} - run: docker build -f Dockerfile -t mps:${GITHUB_SHA} . - run: docker-compose up -d - run: sleep 30 diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index e28c371aa..937bba48e 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -20,7 +20,7 @@ jobs: strategy: matrix: - node-version: [12.x, 14.x, 15.x] + node-version: [12.x, 14.x, 16.x, 17.x] steps: - uses: actions/checkout@v2 diff --git a/Dockerfile b/Dockerfile index 1775be23e..df66e5599 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ #*********************************************************************/ #Multistage docker layer to isolate the git credentials #First stage copy and install dependencies -ARG BASE=node:14-buster-slim +ARG BASE=node:16-buster-slim FROM ${BASE} as builder LABEL license='SPDX-License-Identifier: Apache-2.0' \ copyright='Copyright (c) Intel Corporation 2021'