From fe1ef9e8cb558e3b0d0e3cb3dd2297847e80b966 Mon Sep 17 00:00:00 2001 From: Quentin Pradet Date: Tue, 9 Apr 2024 15:46:33 +0400 Subject: [PATCH] Bump Node.js from v16 to v20 (#2492) --- .ci/Dockerfile | 2 +- .github/workflows/code-format.yml | 4 ++-- .github/workflows/compiler.test.yml | 4 ++-- .github/workflows/generate.yml | 4 ++-- .github/workflows/gh-pages-report.yml | 4 ++-- .github/workflows/linter.yml | 4 ++-- .github/workflows/update-rest-api-json.yml | 4 ++-- .github/workflows/validate-pr.yml | 4 ++-- .nvmrc | 2 +- 9 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.ci/Dockerfile b/.ci/Dockerfile index c114c1dded..224ddbde4a 100644 --- a/.ci/Dockerfile +++ b/.ci/Dockerfile @@ -1,4 +1,4 @@ -FROM node:16 +FROM node:20 WORKDIR /usr/src/app diff --git a/.github/workflows/code-format.yml b/.github/workflows/code-format.yml index 2ed7e60166..4b1e988ff2 100644 --- a/.github/workflows/code-format.yml +++ b/.github/workflows/code-format.yml @@ -10,10 +10,10 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Use Node.js 16.x + - name: Use Node.js 20.x uses: actions/setup-node@v1 with: - node-version: 16.x + node-version: 20.x - name: Install run: | diff --git a/.github/workflows/compiler.test.yml b/.github/workflows/compiler.test.yml index 31df8709f3..abc97b6aa5 100644 --- a/.github/workflows/compiler.test.yml +++ b/.github/workflows/compiler.test.yml @@ -13,10 +13,10 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Use Node.js 16.x + - name: Use Node.js 20.x uses: actions/setup-node@v1 with: - node-version: 16.x + node-version: 20.x - name: Install deps run: | diff --git a/.github/workflows/generate.yml b/.github/workflows/generate.yml index 39e1594066..7be1a2ec28 100644 --- a/.github/workflows/generate.yml +++ b/.github/workflows/generate.yml @@ -34,10 +34,10 @@ jobs: token: ${{ secrets.PAT }} persist-credentials: true - - name: Setup Node 16.x + - name: Setup Node 20.x uses: actions/setup-node@v3 with: - node-version: 16.x + node-version: 20.x cache: npm cache-dependency-path: '**/package-lock.json' diff --git a/.github/workflows/gh-pages-report.yml b/.github/workflows/gh-pages-report.yml index fb832c03c6..9a90a5d37d 100644 --- a/.github/workflows/gh-pages-report.yml +++ b/.github/workflows/gh-pages-report.yml @@ -16,10 +16,10 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Use Node.js 16.x + - name: Use Node.js 20.x uses: actions/setup-node@v1 with: - node-version: 16.x + node-version: 20.x - name: Install run: | diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 912864aaa7..00cc8ec4fc 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -10,10 +10,10 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Use Node.js 16.x + - name: Use Node.js 20.x uses: actions/setup-node@v1 with: - node-version: 16.x + node-version: 20.x - name: Install run: | diff --git a/.github/workflows/update-rest-api-json.yml b/.github/workflows/update-rest-api-json.yml index ca3fcf3f93..f09b741419 100644 --- a/.github/workflows/update-rest-api-json.yml +++ b/.github/workflows/update-rest-api-json.yml @@ -19,10 +19,10 @@ jobs: with: ref: ${{ matrix.branch }} - - name: Use Node.js 16.x + - name: Use Node.js 20.x uses: actions/setup-node@v1 with: - node-version: 16.x + node-version: 20.x - name: Install deps run: | diff --git a/.github/workflows/validate-pr.yml b/.github/workflows/validate-pr.yml index 57ede75691..6977fb56cb 100644 --- a/.github/workflows/validate-pr.yml +++ b/.github/workflows/validate-pr.yml @@ -32,10 +32,10 @@ jobs: token: ${{ secrets.PAT }} ref: main - - name: Use Node.js 16.x + - name: Use Node.js 20.x uses: actions/setup-node@v1 with: - node-version: 16.x + node-version: 20.x - name: Install deps 1/2 working-directory: ./clients-flight-recorder diff --git a/.nvmrc b/.nvmrc index b6a7d89c68..209e3ef4b6 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -16 +20