Skip to content

Commit d64eda2

Browse files
committed
Enhance GitHub Actions workflow by adding Playwright browser installation and API model generation steps. Replace npm install with npm ci for consistent dependency management in Windows testing environment.
1 parent e61f132 commit d64eda2

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/deployment.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ jobs:
3434
run: |
3535
rm -f package-lock.json
3636
npm install
37+
- name: Install Playwright Browsers
38+
run: npx playwright install --with-deps
3739
- name: Run tests
3840
run: npm test
3941
test_win:
@@ -57,8 +59,12 @@ jobs:
5759
- name: Install dependencies
5860
run: |
5961
if (Test-Path package-lock.json) { del package-lock.json }
60-
npm install
62+
npm ci
6163
shell: pwsh
64+
- name: Install Playwright Browsers
65+
run: npx playwright install --with-deps
66+
- name: Generate API models
67+
run: npm run prepare
6268
- name: Run tests
6369
run: npm test
6470
tag:

0 commit comments

Comments
 (0)