Skip to content

Commit bb8cd10

Browse files
Copilotdd32
andcommitted
Fix CI: use npm install instead of npm ci, remove lock-file cache
Co-authored-by: dd32 <767313+dd32@users.noreply.github.com>
1 parent 83fc8bd commit bb8cd10

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/test.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,17 @@ jobs:
1919
uses: actions/setup-node@v4
2020
with:
2121
node-version: 'lts/*'
22-
cache: 'npm'
2322

2423
- name: Install Node.js dependencies
25-
run: npm ci
24+
run: npm install
2625

2726
# Cache the wp-env working directory (~/.wp-env) so that the WordPress
2827
# download and database setup are reused across runs when nothing changes.
2928
- name: Cache wp-env
3029
uses: actions/cache@v4
3130
with:
3231
path: ~/.wp-env
33-
key: wp-env-${{ hashFiles('package-lock.json', '.wp-env.json') }}
32+
key: wp-env-${{ hashFiles('package.json', '.wp-env.json') }}
3433
restore-keys: |
3534
wp-env-
3635

0 commit comments

Comments
 (0)