Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 7b7782d

Browse files
build: add book creation
1 parent 957aa8c commit 7b7782d

File tree

2 files changed

+24
-5
lines changed

2 files changed

+24
-5
lines changed

‎.circleci/config.yml

Lines changed: 23 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,25 +10,25 @@ jobs: # a collection of steps
1010
name: update-npm
1111
command: 'sudo npm install -g npm@latest'
1212
- run:
13-
name: Check current version of node
13+
name: node version
1414
command: node -v
1515
- run:
16-
name: Check current version of NPM
16+
name: NPM version
1717
command: npm -v
1818

1919
- restore_cache: # special step to restore the dependency cache
2020
# Read about caching dependencies: https://circleci.com/docs/2.0/caching/
2121
key: dependency-cache-{{ checksum "package.json" }}
2222
- run:
23-
name: install-npm-wee
23+
name: npm install
2424
command: npm install
2525
- save_cache: # special step to save the dependency cache
2626
key: dependency-cache-{{ checksum "package.json" }}
2727
paths:
2828
- ./node_modules
2929

3030
- run: # run tests
31-
name: test
31+
name: run tests
3232
command: npm run ci
3333

3434
- store_artifacts: # special step to save test results as as artifact
@@ -40,3 +40,22 @@ jobs: # a collection of steps
4040
prefix: coverage
4141
- store_test_results: # for display in Test Summary: https://circleci.com/docs/2.0/collect-test-data/
4242
path: test-results.xml
43+
44+
book:
45+
docker:
46+
- image: circleci/ruby:2.5.3-stretch
47+
steps:
48+
- checkout
49+
- run:
50+
name: bundler version
51+
command: bundle -v
52+
- run:
53+
name: ruby version
54+
command: ruby -v
55+
56+
workflows:
57+
version: 2
58+
build_and_test:
59+
jobs:
60+
- build
61+
- book

‎README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Data Structures and Algorithms in JavaScript
22

3-
[![Build Status](https://travis-ci.com/amejiarosario/dsa.js.svg?branch=master)](https://travis-ci.com/amejiarosario/dsa.js) [![NPM version](https://badge.fury.io/js/dsa.js.svg)](https://badge.fury.io/js/dsa.js) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](http://makeapullrequest.com) [![Code Style Airbnb](https://img.shields.io/badge/code%20style-Airbnb-brightgreen.svg)](https://github.com/airbnb/javascript)
3+
[![CircleCI](https://circleci.com/gh/amejiarosario/dsa.js.svg?style=svg)](https://circleci.com/gh/amejiarosario/dsa.js) [![NPM version](https://badge.fury.io/js/dsa.js.svg)](https://badge.fury.io/js/dsa.js) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](http://makeapullrequest.com) [![Code Style Airbnb](https://img.shields.io/badge/code%20style-Airbnb-brightgreen.svg)](https://github.com/airbnb/javascript)
44
[![ProductHunt](https://img.shields.io/badge/product%20hunt-vote-orange.svg)](https://www.producthunt.com/posts/dsa-js)
55

66
<!--

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /