Commit e629aff1 authored by Joe Ziemba's avatar Joe Ziemba
Browse files

33 fix command

parent e6cf857e
......@@ -3,6 +3,9 @@
# Check https://circleci.com/docs/2.0/language-javascript/ for more details
#
version: 3
orbs:
node: circleci/node@4.3.0
browser-tools: circleci/browser-tools@1.1.3
jobs:
build:
docker:
......@@ -33,9 +36,70 @@ jobs:
- node_modules
key: v2-dependencies-{{ checksum "package.json" }}
# run tests!
- run: npm run test:all
- run: npm run e2e:all
# build
- run: npm run build
e2e-chrome:
docker:
# specify the version you desire here
- image: circleci/node:14.16.1-browsers
# Specify service dependencies here if necessary
# CircleCI maintains a library of pre-built images
# documented at https://circleci.com/docs/2.0/circleci-images/
# - image: circleci/mongo:3.4.4
working_directory: ~/repo
steps:
- checkout
- browser-tools/install-chrome
- node/install-packages
# Download and cache dependencies
- restore_cache:
keys:
- v2-dependencies-{{ checksum "package.json" }}
# fallback to using the latest cache if no exact match is found
- v2-dependencies-
- save_cache:
paths:
- node_modules
key: v2-dependencies-{{ checksum "package.json" }}
- run: npm run e2e:chrome
e2e-firefox:
docker:
# specify the version you desire here
- image: circleci/node:14.16.1-browsers
# Specify service dependencies here if necessary
# CircleCI maintains a library of pre-built images
# documented at https://circleci.com/docs/2.0/circleci-images/
# - image: circleci/mongo:3.4.4
working_directory: ~/repo
steps:
- checkout
- browser-tools/install-firefox
# Download and cache dependencies
- restore_cache:
keys:
- v2-dependencies-{{ checksum "package.json" }}
# fallback to using the latest cache if no exact match is found
- v2-dependencies-
- node/install-packages
- save_cache:
paths:
- node_modules
key: v2-dependencies-{{ checksum "package.json" }}
- run: npm run e2e:ff
workflows:
end-to-end-tests:
jobs:
- e2e:chrome
- e2e:firefox:
requires:
- e2e:chrome
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment