Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
sv2 committed Dec 8, 2022
2 parents 280770f + 008053d commit 163ad1b
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 1 deletion.
43 changes: 43 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# This config is equivalent to both the '.circleci/extended/orb-free.yml' and the base '.circleci/config.yml'
version: 2.1

orbs:
coveralls: coveralls/coveralls@1.0.6

workflows:
version: 2
build:
jobs:
- build

jobs:
build:
working_directory: ~/swagger-stats
docker:
- image: cimg/node:17.2.0 # Primary execution image
- image: docker.elastic.co/elasticsearch/elasticsearch:7.12.0 #1
environment:
- transport.host: localhost #2
- network.host: 127.0.0.1 #3
- http.port: 9200 #4
- cluster.name: es-cluster #5
- discovery.type: single-node #6
- xpack.security.enabled: false #7
- ES_JAVA_OPTS: "-Xms256m -Xmx256m" #8
steps:
- checkout
- restore_cache:
key: dependency-cache-{{ checksum "package-lock.json" }}
- run:
name: install-npm
command: npm install
- save_cache:
key: dependency-cache-{{ checksum "package-lock.json" }}
paths:
- ./node_modules
- run:
name: test
command: npm test
- coveralls/upload:
path_to_lcov: ./coverage-report/lcov.info

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

#### [https://swaggerstats.io](https://swaggerstats.io) | [Guide](https://swaggerstats.io/guide/)

[![Build Status](https://travis-ci.org/slanatech/swagger-stats.svg?branch=master)](https://travis-ci.org/slanatech/swagger-stats)
[![CircleCI](https://dl.circleci.com/status-badge/img/gh/slanatech/swagger-stats/tree/master.svg?style=svg)](https://dl.circleci.com/status-badge/redirect/gh/slanatech/swagger-stats/tree/master)
[![Coverage Status](https://coveralls.io/repos/github/slanatech/swagger-stats/badge.svg?branch=master&dummy)](https://coveralls.io/github/slanatech/swagger-stats?branch=master&dummy)
[![npm version](https://badge.fury.io/js/swagger-stats.svg)](https://badge.fury.io/js/swagger-stats)
[![npm downloads](https://img.shields.io/npm/dm/swagger-stats.svg)](https://img.shields.io/npm/dm/swagger-stats)
Expand Down

0 comments on commit 163ad1b

Please sign in to comment.