Skip to content

Commit

Permalink
Update nodejs version and package-lock JSON and undo cache key naming
Browse files Browse the repository at this point in the history
  • Loading branch information
johman10 committed Apr 27, 2024
1 parent 1da2fea commit ea6ec66
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ jobs:
cache-name: cache-node-modules
with:
path: ~/.npm
key: v1-${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
v1-${{ runner.os }}-build-${{ env.cache-name }}-
v1-${{ runner.os }}-build-
v1-${{ runner.os }}-
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Install modules
run: npm ci
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ jobs:
cache-name: cache-node-modules
with:
path: ~/.npm
key: v1-${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
v1-${{ runner.os }}-build-${{ env.cache-name }}-
v1-${{ runner.os }}-build-
v1-${{ runner.os }}-
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Install modules
run: npm ci
Expand Down
1 change: 1 addition & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodejs 18.20.2
30 changes: 30 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ea6ec66

Please sign in to comment.