diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 986774f5..5cc004c2 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -18,7 +18,7 @@ on: workflow_dispatch: env: - CHAINCODE_CONTAINER_NODE_VER: 16 + CHAINCODE_CONTAINER_NODE_VER: 18 DOCKER_REGISTRY: ${{ github.repository_owner == 'hyperledger' && 'docker.io' || 'ghcr.io' }} jobs: @@ -32,7 +32,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: '16.x' + node-version: '18.x' - name: BuildData id: builddata run: | @@ -58,7 +58,7 @@ jobs: runs-on: ubuntu-20.04 strategy: matrix: - node-version: [16.x] + node-version: [18.x] steps: - uses: actions/checkout@v3 @@ -104,7 +104,7 @@ jobs: needs: [build] strategy: matrix: - node-version: [16.x] + node-version: [18.x] steps: - uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node-version }} @@ -162,7 +162,7 @@ jobs: needs: build strategy: matrix: - node-version: [16.x] + node-version: [18.x] steps: - uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node-version }} @@ -189,7 +189,7 @@ jobs: steps: - uses: actions/setup-node@v3 with: - node-version: '16.x' + node-version: '18.x' registry-url: 'https://registry.npmjs.org' - uses: actions/download-artifact@v3 with: diff --git a/docker/fabric-nodeenv/Dockerfile b/docker/fabric-nodeenv/Dockerfile index e9d98cba..c8c7e52a 100644 --- a/docker/fabric-nodeenv/Dockerfile +++ b/docker/fabric-nodeenv/Dockerfile @@ -2,7 +2,7 @@ # # SPDX-License-Identifier: Apache-2.0 # -ARG NODE_VER=16 +ARG NODE_VER=18 FROM node:${NODE_VER}-alpine RUN apk add --no-cache \ make \ diff --git a/rush.json b/rush.json index c6790b8e..f7589b82 100644 --- a/rush.json +++ b/rush.json @@ -62,7 +62,7 @@ * Specify a SemVer range to ensure developers use a Node.js version that is appropriate * for your repo. */ - "nodeSupportedVersionRange": ">=16.4.0 <17.0.0", + "nodeSupportedVersionRange": ">=16.4.0 <19.0.0", /** * Odd-numbered major versions of Node.js are experimental. Even-numbered releases * spend six months in a stabilization period before the first Long Term Support (LTS) version.