Skip to content

Commit

Permalink
🌱 Add and allow test image builds for more changes (#1926)
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
sjd78 authored May 29, 2024
1 parent 3f15491 commit 66b06b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/ci-image-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
],
"engines": {
"node": ">=18.14.2",
"npm": "^9.5.0"
"npm": ">=9.5.0"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^25.0.7",
Expand Down

0 comments on commit 66b06b0

Please sign in to comment.