Skip to content

Commit e3264aa

Browse files
authored
Update config.yml
1 parent 02acad9 commit e3264aa

File tree

1 file changed

+6
-33
lines changed

1 file changed

+6
-33
lines changed

.circleci/config.yml

Lines changed: 6 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,10 @@
1-
# Javascript Node CircleCI 2.0 configuration file
2-
#
3-
# Check https://circleci.com/docs/2.0/language-javascript/ for more details
4-
#
1+
# Circle CI 2.0 Config File
2+
# This config file will prevent tests from being run on the gh-pages branch.
53
version: 2
64
jobs:
75
build:
8-
docker:
9-
# specify the version you desire here
10-
- image: circleci/node:8
11-
12-
# Specify service dependencies here if necessary
13-
# CircleCI maintains a library of pre-built images
14-
# documented at https://circleci.com/docs/2.0/circleci-images/
15-
# - image: circleci/mongo:3.4.4
16-
17-
working_directory: ~/repo
18-
6+
machine: true
7+
branches:
8+
ignore: gh-pages
199
steps:
20-
- checkout
21-
22-
# Download and cache dependencies
23-
- restore_cache:
24-
keys:
25-
- v1-dependencies-{{ checksum "package.json" }}
26-
# fallback to using the latest cache if no exact match is found
27-
- v1-dependencies-
28-
29-
- run: yarn install
30-
31-
- save_cache:
32-
paths:
33-
- node_modules
34-
key: v1-dependencies-{{ checksum "package.json" }}
35-
36-
# run tests!
37-
- run: yarn test
10+
- run: echo "Skipping tests on gh-pages branch"

0 commit comments

Comments
 (0)