Skip to content

Commit bfc7ffe

Browse files
iliapoloVieltojarvi
andauthored
chore: use node24 only in publish job (#3027)
Currently publish is failing with: ```console Failed to restore cache entry. Exiting as fail-on-cache-miss is set. Input key: Linux-4c7d643f27f6e81e93c730d8c8f60cf1808038aee3c97303cbad98bbf8f4b29b-node24-cdklibFROM_PACKAGE_LOCK ``` We suspect the switch to node 24 in the restore cache step is messing it up. --------- Co-authored-by: Vieltojarvi <[email protected]>
1 parent 00d147f commit bfc7ffe

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/health_checks.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -919,13 +919,16 @@ jobs:
919919
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # version 4.1.4
920920
- uses: ./.github/actions/setup_node
921921
with:
922-
node-version: 24
922+
node-version: 18
923923
- uses: ./.github/actions/restore_build_cache
924924
with:
925-
node-version: 24
925+
node-version: 18
926926
cdk-lib-version: ${{ needs.resolve_inputs.outputs.cdk_lib_version }}
927927
- id: is_version_packages_commit
928928
run: echo "is_version_packages_commit=$(npx tsx scripts/is_version_packages_commit.ts)" >> "$GITHUB_OUTPUT"
929+
- uses: ./.github/actions/setup_node
930+
with:
931+
node-version: 24
929932
- name: Publish packages
930933
# if this push is merging a version packages PR, then we publish the new versions
931934
if: ${{ steps.is_version_packages_commit.outputs.is_version_packages_commit == 'true' }}

0 commit comments

Comments
 (0)