Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
jsumners-nr committed Feb 28, 2024
1 parent ec0b65c commit 5a0a647
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/ci-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,9 +134,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
# Bewilderingly, `hashFiles('**/package.json')` is generating a different
# hash in each caching step of this job. So that thing can take a hike.
- run: echo -e "CACHE_KEY=$(shasum -a 256 package.json | cut -f1 -d ' ')" >> "$GITHUB_ENV"
- name: Compute cache key
run: echo -e "CACHE_KEY=$(shasum -a 256 package.json | cut -f1 -d ' ')" >> "$GITHUB_ENV"
- name: Restore modules cache
id: cache_restore
uses: actions/cache/restore@v4
Expand Down Expand Up @@ -168,8 +167,6 @@ jobs:
run: |
cp -R /host/node_modules . 2>/dev/null
rm -rf /host/node_modules 2>/dev/null
# Update npm because it seems to fail in node@18 every time
npm i -g npm
# npm install will fail on Node 18 every time unless we use this
# very odd fix:
# https://github.com/npm/cli/issues/4652#issuecomment-1126672629
Expand Down

0 comments on commit 5a0a647

Please sign in to comment.