Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Donald Haase
rpg-workshop
Commits
e629aff1
Commit
e629aff1
authored
Oct 18, 2021
by
Joe Ziemba
Browse files
33 fix command
parent
e6cf857e
Changes
1
Hide whitespace changes
Inline
Side-by-side
.circleci/config.yml
View file @
e629aff1
...
...
@@ -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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment