.pipeline: &pipeline runner: cpus: 2 docker: image: node:20.11.1 stages: - name: 启用yarn script: corepack enable yarn - name: 安装依赖 script: yarn install - name: build script: yarn run build dev/main: push: - <<: *pipeline main: push: - <<: *pipeline release: push: - <<: *pipeline