mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-08 01:53:34 +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:
|
||||
name: prepare node_modules
|
||||
runs-on: ubuntu-latest
|
||||
container: ghcr.io/puppeteer/puppeteer:21.5.2
|
||||
steps:
|
||||
- name: checkout
|
||||
uses: actions/checkout@v4
|
||||
@ -67,7 +68,9 @@ jobs:
|
||||
|
||||
- name: generate image snapshots
|
||||
id: site
|
||||
run: npm run test-image
|
||||
run: |
|
||||
npm run version
|
||||
npm run test-image
|
||||
env:
|
||||
SITE_ENV: development
|
||||
NODE_OPTIONS: "--max_old_space_size=4096"
|
||||
|
2
.gitignore
vendored
2
.gitignore
vendored
@ -61,7 +61,7 @@ components/version/token-meta.json
|
||||
__diff_output__/
|
||||
__image_snapshots__/
|
||||
/jest-stare
|
||||
/imageSnapshots
|
||||
/imageSnapshots*
|
||||
/imageDiffSnapshots
|
||||
|
||||
.devcontainer*
|
||||
|
Loading…
Reference in New Issue
Block a user