From dbbeb7544749c1734cc3685e3ad61921c36771e3 Mon Sep 17 00:00:00 2001 From: Malachi Soord Date: Thu, 29 Aug 2024 22:44:11 +0200 Subject: [PATCH] chore: consistent node version --- .github/workflows/build.yml | 4 ++++ .nvmrc | 1 + Dockerfile | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .nvmrc diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index dee0401ca..8b6673b9a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,6 +21,10 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + - name: Setup node + uses: actions/setup-node@v4 + with: + node-version-file: .nvmrc - name: Install NPM dependencies run: npm ci - name: Build diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 000000000..209e3ef4b --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +20 diff --git a/Dockerfile b/Dockerfile index 6dd510f8b..a0a3c597a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -# Stremio Node 14.x +# Stremio Node 20.x # the node version for running Stremio Web ARG NODE_VERSION=20-alpine FROM node:$NODE_VERSION AS base