File tree Expand file tree Collapse file tree 4 files changed +20
-4
lines changed Expand file tree Collapse file tree 4 files changed +20
-4
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ jobs: # a collection of steps
5252
5353 docs :
5454 docker :
55- - image : circleci/ruby:2.5.3-stretch -node
55+ - image : circleci/ruby:2.7.1-buster -node
5656 environment :
5757 NOKOGIRI_USE_SYSTEM_LIBRARIES : true
5858 steps :
@@ -84,7 +84,7 @@ jobs: # a collection of steps
8484
8585 - run :
8686 name : Bundle Install.pre - needed for mathematical -> 'asciidoctor-mathematical' gem
87- command : sudo apt-get -qq -y install cmake bison flex libffi-dev libxml2-dev libgdk-pixbuf2.0-dev libcairo2-dev libpango1.0-dev ttf-lyx
87+ command : sudo apt-get -qq -y install cmake bison flex libffi-dev libxml2-dev libgdk-pixbuf2.0-dev libcairo2-dev libpango1.0-dev
8888
8989 - run :
9090 name : Bundle Install.pre - install GraphicsMagick for 'prawn-gmagick' gem
Original file line number Diff line number Diff line change 1+ FROM circleci/ruby:2.5.3-stretch-node
2+ # FROM circleci/ruby:2.7.1-buster-node
3+
4+ COPY . /app
5+
6+ RUN node -v
7+ RUN ruby -v
8+ RUN bundle -v
9+
10+ RUN apt-get update && apt-get install -y \
11+ graphviz \
12+ graphicsmagick-imagemagick-compat graphicsmagick-libmagick-dev-compat
13+
14+ RUN cd book/config && bundle install
15+
16+ CMD cd book/config && make VERSION="$(npx -c 'echo " $npm_package_version"')"
Original file line number Diff line number Diff line change 1515 "scripts" : {
1616 "test" : " jest --verbose" ,
1717 "watch" : " jest --watch --verbose --coverage" ,
18+ "ci" : " npx eslint src/ && jest --coverage" ,
1819 "coverage" : " jest --coverage && open coverage/lcov-report/index.html" ,
1920 "coverage:win" : " jest --coverage && cmd.exe /C start coverage/lcov-report/index.html" ,
2021 "lint" : " npx eslint --fix --format codeframe src/" ,
21- "ci" : " npx eslint src/ && jest src/ --coverage" ,
2222 "semantic-release" : " semantic-release" ,
2323 "release:check" : " semantic-release --dry-run"
2424 },
You can’t perform that action at this time.
0 commit comments