build: update node to 20.9 (#3668)

pull/3670/head
Ryan Cohen 6 months ago committed by GitHub
parent b40ba07a4d
commit 59dabed380
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -13,7 +13,7 @@ jobs:
name: Lint & Test Build name: Lint & Test Build
if: github.event_name == 'pull_request' if: github.event_name == 'pull_request'
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
container: node:16.17-alpine container: node:20.9-alpine
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v3

@ -1,4 +1,4 @@
FROM node:16.17-alpine AS BUILD_IMAGE FROM node:20.9-alpine AS BUILD_IMAGE
WORKDIR /app WORKDIR /app
@ -7,10 +7,10 @@ ENV TARGETPLATFORM=${TARGETPLATFORM:-linux/amd64}
RUN \ RUN \
case "${TARGETPLATFORM}" in \ case "${TARGETPLATFORM}" in \
'linux/arm64' | 'linux/arm/v7') \ 'linux/arm64' | 'linux/arm/v7') \
apk add --no-cache python3 make g++ && \ apk add --no-cache python3 make g++ && \
ln -s /usr/bin/python3 /usr/bin/python \ ln -s /usr/bin/python3 /usr/bin/python \
;; \ ;; \
esac esac
COPY package.json yarn.lock ./ COPY package.json yarn.lock ./
@ -33,7 +33,7 @@ RUN touch config/DOCKER
RUN echo "{\"commitTag\": \"${COMMIT_TAG}\"}" > committag.json RUN echo "{\"commitTag\": \"${COMMIT_TAG}\"}" > committag.json
FROM node:16.17-alpine FROM node:20.9-alpine
WORKDIR /app WORKDIR /app

@ -1,4 +1,4 @@
FROM node:16.17-alpine FROM node:20.9-alpine
COPY . /app COPY . /app
WORKDIR /app WORKDIR /app

@ -16,7 +16,7 @@ architectures:
parts: parts:
overseerr: overseerr:
plugin: nodejs plugin: nodejs
nodejs-version: '16.17.0' nodejs-version: '20.9.0'
nodejs-package-manager: 'yarn' nodejs-package-manager: 'yarn'
nodejs-yarn-version: v1.22.17 nodejs-yarn-version: v1.22.17
build-packages: build-packages:

Loading…
Cancel
Save