mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 02:59:58 +08:00
ci: add npx playwright install chromium
This commit is contained in:
parent
672c52ab6f
commit
239f933db4
@ -125,7 +125,10 @@ jobs:
|
||||
|
||||
- name: run visual-diff capture
|
||||
run: |
|
||||
npx playwright install chromium
|
||||
npm run visual-diff:capture
|
||||
env:
|
||||
NODE_OPTIONS: "--max_old_space_size=4096"
|
||||
|
||||
- name: artifact snapshot
|
||||
uses: actions/upload-artifact@v4
|
||||
|
@ -119,8 +119,11 @@ jobs:
|
||||
|
||||
- name: run visual-diff capture
|
||||
run: |
|
||||
npx playwright install chromium
|
||||
npm run visual-diff:capture
|
||||
tar -czvf imageSnapshots.tar.gz imageSnapshots/*
|
||||
env:
|
||||
NODE_OPTIONS: "--max_old_space_size=4096"
|
||||
|
||||
# Upload `imageSnapshots` on master
|
||||
- name: upload report artifact
|
||||
|
Loading…
Reference in New Issue
Block a user