Skip to content

Commit

Permalink
ci: update to node 20
Browse files Browse the repository at this point in the history
  • Loading branch information
rsdmike committed Nov 1, 2023
1 parent b1a8fbd commit 745ee47
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand Down

0 comments on commit 745ee47

Please sign in to comment.