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