Skip to content

Commit bc5bd6d

Browse files
committed
Remove npm caching from the example GHA workflow.
This is difficult to set up because a `package-lock.json` file is required in order to create a cache key. In this context, the lock file should be the one from WordPress Core. But since WordPress is not checked out until the `prepare.php` step, caching cannot be configured before hand.
1 parent 01652cb commit bc5bd6d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

.github/workflows/tests.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ jobs:
7575
uses: actions/setup-node@25316bbc1f10ac9d8798711f44914b1cf3c4e954 # v2.4.0
7676
with:
7777
node-version: 14
78-
cache: npm
7978

8079
- name: Prepare environment
8180
run: php prepare.php

0 commit comments

Comments
 (0)