Skip to content

Commit

Permalink
ci(docker): use more approriate imgs (#1738)
Browse files Browse the repository at this point in the history
Small without browsers where that's enough bigger with browsers where
it's actually needed.
  • Loading branch information
Thomaash authored Mar 27, 2022
1 parent f5824f6 commit dea86cf
Showing 1 changed file with 15 additions and 7 deletions.
22 changes: 15 additions & 7 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,21 @@
# Javascript Node CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-javascript/ for more details
#
version: 2.1

executors:
node:
docker:
- image: cimg/node:17.7.2
resource_class: small
working_directory: ~/repo
environment:
GIT_AUTHOR_EMAIL: [email protected]
GIT_AUTHOR_NAME: vis-bot
GIT_COMMITTER_EMAIL: [email protected]
GIT_COMMITTER_NAME: vis-bot

node-browsers:
docker:
- image: cimg/node:17.7.2-browsers
resource_class: "medium"
working_directory: ~/repo
environment:
GIT_AUTHOR_EMAIL: [email protected]
Expand Down Expand Up @@ -50,7 +58,7 @@ jobs:
- "repo/styles"

examples:
executor: node
executor: node-browsers

steps:
- attach_workspace:
Expand Down Expand Up @@ -87,7 +95,7 @@ jobs:
- run: npm run test:unit

test_e2e_functional:
executor: node
executor: node-browsers

steps:
- attach_workspace:
Expand All @@ -96,7 +104,7 @@ jobs:
- run: npm run test:e2e:functional

test_e2e_visual:
executor: node
executor: node-browsers

steps:
- attach_workspace:
Expand Down

0 comments on commit dea86cf

Please sign in to comment.