Skip to content

Commit 07ed784

Browse files
committed
ci frontend tests fix
1 parent 519b53b commit 07ed784

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

.github/workflows/frontend-tests.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,21 @@ jobs:
5353
steps:
5454
- uses: actions/checkout@v4
5555

56+
- name: Setup Node.js
57+
uses: actions/setup-node@v4
58+
with:
59+
node-version: '22'
60+
cache: 'npm'
61+
cache-dependency-path: frontend/package-lock.json
62+
63+
- name: Install frontend dependencies
64+
working-directory: frontend
65+
run: npm ci
66+
67+
- name: Install Playwright browsers
68+
working-directory: frontend
69+
run: npx playwright install chromium
70+
5671
- name: Setup Docker Buildx
5772
uses: docker/setup-buildx-action@v3
5873

@@ -152,21 +167,6 @@ jobs:
152167
run: |
153168
curl --retry 30 --retry-delay 5 --retry-all-errors -ksf https://127.0.0.1:5001/ || true
154169
155-
- name: Setup Node.js
156-
uses: actions/setup-node@v4
157-
with:
158-
node-version: '22'
159-
cache: 'npm'
160-
cache-dependency-path: frontend/package-lock.json
161-
162-
- name: Install frontend dependencies
163-
working-directory: frontend
164-
run: npm ci
165-
166-
- name: Install Playwright browsers
167-
working-directory: frontend
168-
run: npx playwright install chromium
169-
170170
- name: Run E2E tests
171171
working-directory: frontend
172172
env:

0 commit comments

Comments
 (0)