ant-design/.circleci/config.yml
MadCcc 5b5087dcee
chore: migrate to webpack@5 (#45926)
* chore: migrate to webpack@5

* chore: bump

* chore: remove openssl-legacy-provider

* chore: update

* chore: update

* chore: ls webpack

* chore: update  webpack

* chore: update ci

* chore: bump version

* chore: bump

* chore: use forked duplicate check

* chore: bump

* chore: code clean

* chore: update ci

* Revert "chore: update ci"

This reverts commit 0307146dc8.

* chore: update ci
2023-11-23 20:15:12 +08:00

34 lines
1.1 KiB
YAML

# Use the latest 2.1 version of CircleCI pipeline process engine.
# See: https://circleci.com/docs/2.0/configuration-reference
version: 2.1
# Define a job to be invoked later in a workflow.
# See: https://circleci.com/docs/2.0/configuration-reference/#jobs
jobs:
test-argos-ci:
docker:
- image: cimg/node:21.2-browsers
steps:
- checkout
- run:
name: Install node_modules
command: yarn
- run:
name: Build dist file
command: npm run dist:esbuild
- run:
name: Run image screenshot tests
command: npm run test-image
- run:
name: Upload screenshots to Argos CI
command: npm run argos
# The resource_class feature allows configuring CPU and RAM resources for each job. Different resource classes are available for different executors. https://circleci.com/docs/2.0/configuration-reference/#resourceclass
resource_class: large
# Invoke jobs via workflows
# See: https://circleci.com/docs/2.0/configuration-reference/#workflows
workflows:
test-argos-ci-workflow:
jobs:
- test-argos-ci