Skip to content

Commit 89287af

Browse files
authored
build: use node 18 (sct#3675)
1 parent 3a593d9 commit 89287af

File tree

5 files changed

+9
-8
lines changed

5 files changed

+9
-8
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
name: Lint & Test Build
1414
if: github.event_name == 'pull_request'
1515
runs-on: ubuntu-22.04
16-
container: node:20.9-alpine
16+
container: node:18.18-alpine
1717
steps:
1818
- name: Checkout
1919
uses: actions/checkout@v3

.github/workflows/preview.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
jobs:
99
build_and_push:
1010
name: Build & Publish Docker Preview Images
11-
runs-on: ubuntu-20.04
11+
runs-on: ubuntu-22.04
1212
steps:
1313
- name: Checkout
1414
uses: actions/checkout@v3

Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:20.9-alpine AS BUILD_IMAGE
1+
FROM node:18.18-alpine AS BUILD_IMAGE
22

33
WORKDIR /app
44

@@ -8,7 +8,8 @@ ENV TARGETPLATFORM=${TARGETPLATFORM:-linux/amd64}
88
RUN \
99
case "${TARGETPLATFORM}" in \
1010
'linux/arm64' | 'linux/arm/v7') \
11-
apk add --no-cache python3 make g++ \
11+
apk add --no-cache python3 make g++ && \
12+
ln -s /usr/bin/python3 /usr/bin/python \
1213
;; \
1314
esac
1415

@@ -32,7 +33,7 @@ RUN touch config/DOCKER
3233
RUN echo "{\"commitTag\": \"${COMMIT_TAG}\"}" > committag.json
3334

3435

35-
FROM node:20.9-alpine
36+
FROM node:18.18-alpine
3637

3738
WORKDIR /app
3839

Dockerfile.local

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:20.9-alpine
1+
FROM node:18.18-alpine
22

33
COPY . /app
44
WORKDIR /app

snap/snapcraft.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ architectures:
1616
parts:
1717
overseerr:
1818
plugin: nodejs
19-
nodejs-version: '20.9.0'
19+
nodejs-version: '18.8.2'
2020
nodejs-package-manager: 'yarn'
21-
nodejs-yarn-version: v1.22.17
21+
nodejs-yarn-version: v1.22.19
2222
build-packages:
2323
- git
2424
- on arm64:

0 commit comments

Comments
 (0)