Skip to content

Commit aeb8dda

Browse files
authored
Create config.yml
1 parent 67fc580 commit aeb8dda

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.circleci/config.yml

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
version: 2.1
2+
jobs:
3+
build:
4+
docker:
5+
- image: circleci/node:lts
6+
steps:
7+
- checkout
8+
- run: npm install swagger-cli
9+
- run:
10+
command: |
11+
for i in ./*.yaml ; do
12+
npx swagger-cli validate "$i"
13+
[ $? -eq 0 ] || exit 1
14+
done

0 commit comments

Comments
 (0)