mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-11 03:22:59 +08:00
ci: use puppeteer image in gh actions (#46100)
This commit is contained in:
parent
2938a8c828
commit
8f566a028b
@ -15,6 +15,7 @@ jobs:
|
|||||||
setup:
|
setup:
|
||||||
name: prepare node_modules
|
name: prepare node_modules
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
container: ghcr.io/puppeteer/puppeteer:21.5.2
|
||||||
steps:
|
steps:
|
||||||
- name: checkout
|
- name: checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
@ -67,7 +68,9 @@ jobs:
|
|||||||
|
|
||||||
- name: generate image snapshots
|
- name: generate image snapshots
|
||||||
id: site
|
id: site
|
||||||
run: npm run test-image
|
run: |
|
||||||
|
npm run version
|
||||||
|
npm run test-image
|
||||||
env:
|
env:
|
||||||
SITE_ENV: development
|
SITE_ENV: development
|
||||||
NODE_OPTIONS: "--max_old_space_size=4096"
|
NODE_OPTIONS: "--max_old_space_size=4096"
|
||||||
|
2
.gitignore
vendored
2
.gitignore
vendored
@ -61,7 +61,7 @@ components/version/token-meta.json
|
|||||||
__diff_output__/
|
__diff_output__/
|
||||||
__image_snapshots__/
|
__image_snapshots__/
|
||||||
/jest-stare
|
/jest-stare
|
||||||
/imageSnapshots
|
/imageSnapshots*
|
||||||
/imageDiffSnapshots
|
/imageDiffSnapshots
|
||||||
|
|
||||||
.devcontainer*
|
.devcontainer*
|
||||||
|
Loading…
Reference in New Issue
Block a user