Skip to content

Commit 537ea30

Browse files
authored
doc: fixes no_empty suboption for description examples. (#141)
* doc: fixes no_empty suboption for description examples. * chore: upgrade to circleci 2 * chore: comment out npm update since there is a bug...
1 parent 4ff316c commit 537ea30

File tree

3 files changed

+35
-5
lines changed

3 files changed

+35
-5
lines changed

β€Ž.circleci/config.ymlβ€Ž

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
version: 2 # use CircleCI 2.0
2+
jobs: # a collection of steps
3+
build: # runs not using Workflows must have a `build` job as entry point
4+
docker: # run the steps with Docker
5+
- image: circleci/node:8.8.1 # ...with this image as the primary container; this is where all `steps` will run
6+
steps: # a collection of executable commands
7+
- checkout # special step to check out source code to working directory
8+
# - run:
9+
# name: update-npm
10+
# command: 'sudo npm install -g npm@latest'
11+
- restore_cache: # special step to restore the dependency cache
12+
# Read about caching dependencies: https://circleci.com/docs/2.0/caching/
13+
key: dependency-cache-{{ checksum "package.json" }}
14+
- run:
15+
name: install-npm
16+
command: npm install
17+
- save_cache: # special step to save the dependency cache
18+
key: dependency-cache-{{ checksum "package.json" }}
19+
paths:
20+
- ./node_modules
21+
- run: # run tests
22+
name: test
23+
command: npm test
24+
- store_artifacts: # special step to save test results as as artifact
25+
# Upload test summary for display in Artifacts: https://circleci.com/docs/2.0/artifacts/
26+
path: test-results.xml
27+
prefix: tests
28+
- store_artifacts: # for display in Artifacts: https://circleci.com/docs/2.0/artifacts/
29+
path: coverage
30+
prefix: coverage
31+
- store_test_results: # for display in Test Summary: https://circleci.com/docs/2.0/collect-test-data/
32+
path: test-results.xml
33+
# See https://circleci.com/docs/2.0/deployment-integrations/ for deploy examples

β€Žcircle.ymlβ€Ž

Lines changed: 0 additions & 3 deletions
This file was deleted.

β€Ždocs/README.mdβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ By default if the configuration file does not exist, the following is the defaul
288288
label: 'work in progress|do not merge|experimental|proof of concept'
289289
title: 'wip|dnm|exp|poc'
290290
description:
291-
no-empty: true
291+
no_empty: true
292292
```
293293
The configuration file follows a certain format. It is in the general following structure:
294294
@@ -335,7 +335,7 @@ A list of `advanced_option` for an advanced configuration file are as follows:
335335
- max
336336
- count
337337
- message
338-
- no-empty
338+
- no_empty
339339
- enabled
340340
- message
341341
- required

0 commit comments

Comments
Β (0)