From dc1935a44af2ec437bbec4693196ad157c4308eb Mon Sep 17 00:00:00 2001 From: Gary Lockett Date: Mon, 19 Dec 2022 13:35:44 +0000 Subject: [PATCH] upgrade npm to v9, set specific versions of node to use Signed-off-by: Gary Lockett --- Dockerfile | 4 ++-- package-lock.json | 4 ++-- package.json | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5b5a0484..6e1831f0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:19-alpine as compiler +FROM node:19.3.0-alpine as compiler RUN mkdir -p /usr/local/source WORKDIR /usr/local/source @@ -10,7 +10,7 @@ COPY ./src ./src RUN npm run build -FROM node:19-alpine +FROM node:19.3.0-alpine LABEL "repository"="http://github.com/laminas/laminas-ci-matrix-action" LABEL "homepage"="http://github.com/laminas/laminas-ci-matrix-action" LABEL "maintainer"="https://github.com/laminas/technical-steering-committee/" diff --git a/package-lock.json b/package-lock.json index d6b8f403..5fe8b6ae 100644 --- a/package-lock.json +++ b/package-lock.json @@ -31,8 +31,8 @@ "webpack-cli": "^5.0.0" }, "engines": { - "node": "^19", - "npm": "^8" + "node": "^19.3.0", + "npm": "^9.2.0" } }, "node_modules/@actions/core": { diff --git a/package.json b/package.json index 7c4ab667..46a496c1 100644 --- a/package.json +++ b/package.json @@ -8,8 +8,8 @@ "test": "jest --logHeapUsage" }, "engines": { - "npm": "^8", - "node": "^19" + "npm": "^9.2.0", + "node": "^19.3.0" }, "dependencies": { "@actions/core": "^1.10.0",