Skip to content

Commit 77b59b1

Browse files
committed
add missing npm install, cached
1 parent 7535cb9 commit 77b59b1

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/browser-tests.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,17 @@ jobs:
9191
sudo npx playwright install-deps
9292
npx playwright install
9393
94+
- name: Cache node_modules
95+
id: node-modules-cache
96+
uses: actions/cache@v4
97+
with:
98+
path: admin/node_modules
99+
key: ${{ runner.os }}-node-modules-${{ hashFiles('admin/package-lock.json') }}
100+
101+
- name: Install node dependencies
102+
if: steps.node-modules-cache.outputs.cache-hit != 'true'
103+
run: cd admin && npm install
104+
94105
- name: Run Non-Kit Tests on Chrome
95106
run: cd admin && npm run test:browser-mocked-legacy-cdn-chrome
96107

0 commit comments

Comments
 (0)