From bd9013a11885b3d210e9bcee9336a438cde61b82 Mon Sep 17 00:00:00 2001 From: c-bata Date: Sat, 8 Jan 2022 05:20:23 +0900 Subject: [PATCH] Upgrade Node version to v16 --- .github/workflows/integration-tests.yml | 6 +++--- .github/workflows/pypi-publish.yml | 6 +++--- .github/workflows/typescript-tests.yml | 12 ++++++------ DEVELOPMENT.md | 2 +- Dockerfile | 2 +- 5 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index 2409f975..c1aff9ca 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -17,10 +17,10 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Set up Node v14 - uses: actions/setup-node@v2-beta + - name: Setup Node + uses: actions/setup-node@v2 with: - node-version: '14' + node-version: '16' - run: npm install - run: npm run build:dev diff --git a/.github/workflows/pypi-publish.yml b/.github/workflows/pypi-publish.yml index 75a7c249..607a7c80 100644 --- a/.github/workflows/pypi-publish.yml +++ b/.github/workflows/pypi-publish.yml @@ -12,10 +12,10 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Set up Node v14 - uses: actions/setup-node@v2-beta + - name: Setup Node + uses: actions/setup-node@v2 with: - node-version: '14' + node-version: '16' - run: npm install - run: npm run build:prd diff --git a/.github/workflows/typescript-tests.yml b/.github/workflows/typescript-tests.yml index ad1a8f0e..971a4c5b 100644 --- a/.github/workflows/typescript-tests.yml +++ b/.github/workflows/typescript-tests.yml @@ -18,10 +18,10 @@ jobs: - name: Check out code uses: actions/checkout@master - - name: Set up Node v14 + - name: Setup Node uses: actions/setup-node@v2 with: - node-version: '14' + node-version: '16' - run: | npm install npm run lint @@ -34,10 +34,10 @@ jobs: - name: Check out code uses: actions/checkout@master - - name: Set up Node v14 + - name: Setup Node uses: actions/setup-node@v2 with: - node-version: '14' + node-version: '16' - run: | npm install npm run build:dev @@ -51,10 +51,10 @@ jobs: - name: Check out code uses: actions/checkout@master - - name: Set up Node v14 + - name: Setup Node uses: actions/setup-node@v2 with: - node-version: '14' + node-version: '16' - run: | npm install npm run test diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md index 2490c8be..cd274679 100644 --- a/DEVELOPMENT.md +++ b/DEVELOPMENT.md @@ -4,7 +4,7 @@ ### Compiling TypeScript files -Node.js v14 is required to compile TypeScript files. +Node.js v16 is required to compile TypeScript files. ``` $ npm install diff --git a/Dockerfile b/Dockerfile index 1eb15b39..392e1dd9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:14 AS front-builder +FROM node:16 AS front-builder WORKDIR /usr/src ADD ./package.json /usr/src/package.json