Skip to content

Commit

Permalink
NPM Cache Package.json
Browse files Browse the repository at this point in the history
The lock file isn't available.
  • Loading branch information
refringe committed Nov 23, 2024
1 parent a89a0a5 commit 1883a98
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/run-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
with:
node-version-file: "project/.nvmrc"
cache: "npm"
cache-dependency-path: "project/package-lock.json"
cache-dependency-path: "project/package.json"

- name: Install NPM Dependencies
run: npm install
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
with:
node-version-file: "project/.nvmrc"
cache: "npm"
cache-dependency-path: "project/package-lock.json"
cache-dependency-path: "project/package.json"

- name: Install NPM Dependencies
run: npm install
Expand Down

0 comments on commit 1883a98

Please sign in to comment.