actions setup

This commit is contained in:
Wlad 2020-11-13 23:34:15 +01:00
parent d3a006e876
commit 6fd9b28962
3 changed files with 4 additions and 2520 deletions

View File

@ -20,9 +20,9 @@ jobs:
node-version: "12.x"
- name: Install dependencies
run: npm ci
- run: npm test
- run: npm build
- run: npm build-docs
- run: npm run test
- run: npm run build
- run: npm run build-docs
- name: Deploy Docs 🚀
uses: JamesIves/github-pages-deploy-action@3.7.1
with:

View File

@ -7,7 +7,7 @@
},
"scripts": {
"start": "openapi preview-docs",
"build": "openapi bundle -o ./dist/api.yaml && openapi bundle -o ./dist/api.yaml",
"build": "openapi bundle -o ./dist/api.yaml",
"build-docs": "openapi bundle -o ./docs/api.json",
"test": "openapi lint"
}

File diff suppressed because it is too large Load Diff