From 0f5b39692d444c2c037db0e4bfbd48d66fb0343d Mon Sep 17 00:00:00 2001 From: Alex Freska Date: Mon, 18 Dec 2023 15:58:15 -0500 Subject: [PATCH] ci: node version 20 --- .github/actions/setup/action.yml | 2 +- .github/workflows/pr.yml | 2 +- .github/workflows/release-go.yml | 2 +- .github/workflows/release-main.yml | 2 +- apps/assets/Dockerfile | 2 +- apps/crons/Dockerfile | 2 +- apps/explorer/Dockerfile | 2 +- apps/hostd/Dockerfile | 2 +- apps/renterd/Dockerfile | 2 +- apps/walletd/Dockerfile | 2 +- apps/website/Dockerfile | 2 +- package-lock.json | 2 +- package.json | 2 +- 13 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml index 212646776..69f91815f 100644 --- a/.github/actions/setup/action.yml +++ b/.github/actions/setup/action.yml @@ -6,7 +6,7 @@ inputs: node_version: description: Node.js version required: false - default: '19.5.0' + default: '20.8.0' runs: using: composite diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 2f48a367e..beef5eb79 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -14,7 +14,7 @@ jobs: - name: Setup uses: ./.github/actions/setup with: - node_version: 19.5.0 + node_version: 20.8.0 - name: Commit lint shell: bash run: npx commitlint --from ${{ github.event.pull_request.base.sha }} --to ${{ github.event.pull_request.head.sha }} diff --git a/.github/workflows/release-go.yml b/.github/workflows/release-go.yml index 52318f670..2237c5874 100644 --- a/.github/workflows/release-go.yml +++ b/.github/workflows/release-go.yml @@ -21,7 +21,7 @@ jobs: - name: Setup uses: ./.github/actions/setup with: - node_version: 19.5.0 + node_version: 20.8.0 - name: Release run: ./scripts/release-go.sh - name: Commit diff --git a/.github/workflows/release-main.yml b/.github/workflows/release-main.yml index 97628b947..fccd86e26 100644 --- a/.github/workflows/release-main.yml +++ b/.github/workflows/release-main.yml @@ -22,7 +22,7 @@ jobs: - name: Setup uses: ./.github/actions/setup with: - node_version: 19.5.0 + node_version: 20.8.0 - uses: docker/setup-buildx-action@v2 - uses: docker/login-action@v2 with: diff --git a/apps/assets/Dockerfile b/apps/assets/Dockerfile index 1ed13bb2b..56897a940 100644 --- a/apps/assets/Dockerfile +++ b/apps/assets/Dockerfile @@ -1,4 +1,4 @@ -FROM node:18-alpine as runner +FROM node:20-alpine as runner WORKDIR /app diff --git a/apps/crons/Dockerfile b/apps/crons/Dockerfile index 9cf42774e..0d0fa8143 100644 --- a/apps/crons/Dockerfile +++ b/apps/crons/Dockerfile @@ -1,4 +1,4 @@ -FROM node:18-alpine as runner +FROM node:20-alpine as runner WORKDIR /app diff --git a/apps/explorer/Dockerfile b/apps/explorer/Dockerfile index 4bdf70098..e7bc61d4d 100644 --- a/apps/explorer/Dockerfile +++ b/apps/explorer/Dockerfile @@ -1,4 +1,4 @@ -FROM node:18-alpine as runner +FROM node:20-alpine as runner WORKDIR /app diff --git a/apps/hostd/Dockerfile b/apps/hostd/Dockerfile index 1b5a36f7d..1b48867f8 100644 --- a/apps/hostd/Dockerfile +++ b/apps/hostd/Dockerfile @@ -1,4 +1,4 @@ -FROM node:18-alpine as runner +FROM node:20-alpine as runner WORKDIR /app diff --git a/apps/renterd/Dockerfile b/apps/renterd/Dockerfile index dcc524951..e728cb01f 100644 --- a/apps/renterd/Dockerfile +++ b/apps/renterd/Dockerfile @@ -1,4 +1,4 @@ -FROM node:18-alpine as runner +FROM node:20-alpine as runner WORKDIR /app diff --git a/apps/walletd/Dockerfile b/apps/walletd/Dockerfile index bf2e9f437..a6331a2ab 100644 --- a/apps/walletd/Dockerfile +++ b/apps/walletd/Dockerfile @@ -1,4 +1,4 @@ -FROM node:18-alpine as runner +FROM node:20-alpine as runner WORKDIR /app diff --git a/apps/website/Dockerfile b/apps/website/Dockerfile index 01e78b08f..f6a44f77d 100644 --- a/apps/website/Dockerfile +++ b/apps/website/Dockerfile @@ -1,4 +1,4 @@ -FROM node:18-alpine as runner +FROM node:20-alpine as runner WORKDIR /app diff --git a/package-lock.json b/package-lock.json index 102e484af..8259f07dc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -184,7 +184,7 @@ "webpack-merge": "^5.8.0" }, "engines": { - "node": ">=19.5.0" + "node": ">=20.8.0" }, "workspaces": { "packages": [ diff --git a/package.json b/package.json index 3a170547d..c94937af2 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "version": "0.0.0", "license": "MIT", "engines": { - "node": ">=19.5.0" + "node": ">=20.8.0" }, "scripts": { "start": "nx serve",