mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-11-30 11:08:45 +08:00
5a5af385b8
* fix: CheckableTag miss CP tag * chore: bump tag * chore: fix failed * chore: fix circle
36 lines
1.2 KiB
YAML
36 lines
1.2 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:18.17-browsers
|
|
environment:
|
|
NODE_OPTIONS: --openssl-legacy-provider
|
|
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
|