diff --git a/.tool-versions b/.tool-versions index 4aa3bf71..ad7b0afd 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1,2 +1,2 @@ -nodejs 14.20.1 +nodejs 16.20.1 python 3.8.13 diff --git a/Dockerfile b/Dockerfile index 188328d5..25106619 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ FROM python:3.8.10 ENV PYTHONUNBUFFERED 1 RUN pip install pipenv -RUN curl -sL https://deb.nodesource.com/setup_14.x | bash +RUN curl -sL https://deb.nodesource.com/setup_16.x | bash RUN apt-get install nodejs -y RUN apt-get install libgtk2.0-0 libgtk-3-0 libgbm-dev libnotify-dev libgconf-2-4 libnss3 libxss1 libasound2 libxtst6 xauth xvfb -y RUN apt-get install postgresql postgresql-contrib -y diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index c7322090..de6e40a1 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -4,7 +4,7 @@ # ----- # You can specify a custom docker image from Docker Hub as your build environment. image: - name: iterativ/skillbox-test@sha256:60d6bb808a9f0ff7b158192866a18eb7a5381a12621184c17bf5a4fb55384362 + name: iterativ/skillbox-test:node16 clone: depth: full diff --git a/client/package-lock.json b/client/package-lock.json index f2d2b005..e24fe434 100644 --- a/client/package-lock.json +++ b/client/package-lock.json @@ -88,7 +88,7 @@ "vuex": "4.0.1" }, "engines": { - "node": ">= 14.x", + "node": ">= 16.x", "npm": ">= 8.x" } }, diff --git a/client/package.json b/client/package.json index a84ab5cb..89c513b2 100644 --- a/client/package.json +++ b/client/package.json @@ -113,7 +113,7 @@ "vuex": "4.0.1" }, "engines": { - "node": ">= 14.x", + "node": ">= 16.x", "npm": ">= 8.x" }, "browserslist": [ diff --git a/package.json b/package.json index 6314ec6c..0f33cef5 100644 --- a/package.json +++ b/package.json @@ -2,12 +2,14 @@ "name": "myskillbox", "version": "1.1.0", "description": "\"Heroku client build\"", - "cacheDirectories": ["client/node_modules"], + "cacheDirectories": [ + "client/node_modules" + ], "scripts": { "build": "npm install --prefix client && npm run build --prefix client" }, "engines": { - "node": "14.x", + "node": "16.x", "npm": ">= 8.x" } }