From 66b06b067a017d1e4135dfacbe7d31c430853ae8 Mon Sep 17 00:00:00 2001 From: Scott Dickerson Date: Wed, 29 May 2024 11:40:03 -0400 Subject: [PATCH] :seedling: Add and allow test image builds for more changes (#1926) Changes: - If any of the `package.json` files change, test the image builds. We want to make sure that changes to the `engine` or `script` blocks receive a full image build testing. - Update the npm version check to `>=9.5.0`. This will allow the test image build CI to check new builder images that also have npm major version updates. Signed-off-by: Scott J Dickerson --- .github/workflows/ci-image-build.yml | 1 + package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci-image-build.yml b/.github/workflows/ci-image-build.yml index de68cc8d8..6199750d9 100644 --- a/.github/workflows/ci-image-build.yml +++ b/.github/workflows/ci-image-build.yml @@ -21,6 +21,7 @@ jobs: with: files: | Dockerfile + **/package.json package-lock.json - name: Check if build related files have been changed in a PR diff --git a/package.json b/package.json index 6c0b0cba7..506881c0c 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ ], "engines": { "node": ">=18.14.2", - "npm": "^9.5.0" + "npm": ">=9.5.0" }, "devDependencies": { "@rollup/plugin-commonjs": "^25.0.7",