From 490ee956eaf968735e710e44c7537472c0cfb39e Mon Sep 17 00:00:00 2001 From: afc163 Date: Wed, 19 Oct 2022 11:15:35 +0800 Subject: [PATCH] Update config.yml --- .circleci/config.yml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 3962e58975..8ef374e7f3 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -7,27 +7,24 @@ version: 2.1 jobs: test-argos-ci: docker: - - image: cimg/node:lts + - image: cimg/node:lts-browsers steps: - checkout - run: name: Install node_modules - command: npm i + command: yarn - run: name: Install argos cli - command: npm i fast-glob lodash @argos-ci/core - - run: - name: Install puppeteer - command: node node_modules/puppeteer/install.js + command: yarn add fast-glob lodash @argos-ci/core - run: name: Build dist file - command: npm run dist + command: yarn dist - run: name: Run image screenshot tests - command: npm run test-image + command: yarn test-image - run: name: Upload screenshots to Argos CI - command: npm run argos + command: yarn 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