diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index bb3f9675a..a11dbc28e 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -31,7 +31,7 @@ jobs: node-version: ${{ matrix.node-version }} - run: npm ci - run: npm run lint - if: ${{ matrix.node-version == '18.x' }} + if: ${{ matrix.node-version == '20.x' }} - run: npm run compile --if-present - run: npm test - name: Test Report @@ -45,7 +45,7 @@ jobs: fail-on-error: "false" - uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4 name: Upload Coverage Results - if: ${{ matrix.node-version == '18.x' }} + if: ${{ matrix.node-version == '20.x' }} - name: Rename test file run: mv junit.xml mps-unit.xml - name: Upload JEST Results diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6be586b67..c3484f6a5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,10 +23,10 @@ jobs: - name: Checkout uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 - - name: Use Node.js 18.x + - name: Use Node.js 20.x uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0 with: - node-version: "18.x" + node-version: "20.x" - run: npm ci - run: npm run build-ext --if-present - run: rsync -a package.json README.md ./dist/ diff --git a/Dockerfile b/Dockerfile index 234881c7e..140a2e4f5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ #*********************************************************************/ #Multistage docker layer to isolate the git credentials #First stage copy and install dependencies -FROM node:20-bullseye-slim@sha256:f4032280e55c4116ffe38fb64e24e6632367b9d732c193fe991d2b02d911484f as builder +FROM node:20-bullseye-slim@sha256:9cb48d12eeccb9e6ad25e987dda1077399cd63877a46e9e848273c44690ca175 as builder LABEL license='SPDX-License-Identifier: Apache-2.0' \ copyright='Copyright (c) Intel Corporation 2021'