Skip to content

Commit 003437a

Browse files
committed
🌱 Add and allow test image builds for more changes
Changes: - If a `package.json` file changes, test the image builds. We want to make sure that changes to the `engine` or `script` blocks receive a through 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 <[email protected]>
1 parent 3949530 commit 003437a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/ci-image-build.yml

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121
with:
2222
files: |
2323
Dockerfile
24+
**/package.json
2425
package-lock.json
2526
2627
- name: Check if build related files have been changed in a PR

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
],
3737
"engines": {
3838
"node": ">=18.14.2",
39-
"npm": "^9.5.0"
39+
"npm": ">=9.5.0"
4040
},
4141
"devDependencies": {
4242
"@rollup/plugin-commonjs": "^25.0.7",

0 commit comments

Comments
 (0)