-
Notifications
You must be signed in to change notification settings - Fork 2
/
circle.yml
34 lines (32 loc) · 954 Bytes
/
circle.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
version: 2
jobs:
build:
docker:
- image: cypress/base:8
environment:
## this enables colors in the output
TERM: xterm
working_directory: ~/togetherness
steps:
- checkout
# These make `npm ci` work
- run: echo "{}" > package.json
- run: npm install
- run: npm install npx -g
- restore_cache:
keys:
- v1-deps-{{ .Branch }}-{{ checksum "README.md" }}
- v1-deps-{{ .Branch }}
- v1-deps
- run:
name: Install Dependencies
command: npm ci
- save_cache:
key: v1-deps-{{ .Branch }}-{{ checksum "README.md" }}
# cache NPM modules and the folder with the Cypress binary
paths:
- ~/.npm
- ~/.cache
- run: bin/cypress_inside_circle.sh
#- run: bin/start.sh
#- run: npx cypress run --spec "cypress/integration/basics_spec.js"