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 7da7a46

Browse files
🔧 chore (build) semantic release
1 parent efd4e29 commit 7da7a46

File tree

2 files changed

+17
-3
lines changed

2 files changed

+17
-3
lines changed

‎.circleci/config.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,21 @@ jobs: # a collection of steps
110110
path: book/dist
111111
destination: book
112112

113+
release:
114+
docker:
115+
- image: 'circleci/node:latest'
116+
steps:
117+
- checkout
118+
- run:
119+
name: install
120+
command: npm install
121+
- run:
122+
name: release
123+
command: npm run semantic-release || true
113124
workflows:
114125
version: 2
115126
build_and_docs:
116127
jobs:
117128
- build
118129
- docs
130+
- release

‎package.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "dsa.js",
3-
"version": "1.3.10",
3+
"version": "0.0.0-development",
44
"description": "Data Structures & Algorithms in JS",
55
"author": "Adrian Mejia <hi+dsajs@adrianmejia.com> (https://adrianmejia.com)",
66
"homepage": "https://github.com/amejiarosario/dsa.js",
@@ -17,7 +17,8 @@
1717
"watch": "jest src/ --watch --coverage",
1818
"coverage": "jest src/ --coverage && open coverage/lcov-report/index.html",
1919
"lint": "npx eslint --fix --format codeframe src/",
20-
"ci": "npx eslint src/ && jest src/ --coverage"
20+
"ci": "npx eslint src/ && jest src/ --coverage",
21+
"semantic-release": "semantic-release"
2122
},
2223
"keywords": [
2324
"algorithms",
@@ -44,7 +45,8 @@
4445
"jest": "23.6.0",
4546
"js-yaml": ">=3.13.1",
4647
"mem": ">=4.0.0",
47-
"textlint-plugin-asciidoctor": "1.0.2"
48+
"textlint-plugin-asciidoctor": "1.0.2",
49+
"semantic-release": "^17.0.4"
4850
},
4951
"engines": {
5052
"node": ">=10.0.0"

0 commit comments

Comments
(0)

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