Skip to content
21 changes: 10 additions & 11 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ on: [push, pull_request]

jobs:
build:

runs-on: ubuntu-latest

strategy:
Expand All @@ -20,13 +19,13 @@ jobs:
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm i -g npm
- run: npm ci
- run: npm run build --if-present
- run: npm test
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
# - run: npm i -g npm
- run: npm ci
- run: npm run build --if-present
- run: npm test
27 changes: 19 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "json-schema-for-openapi",
"version": "0.3.2",
"version": "0.4.0",
"description": "Converts a regular JSON Schema to a compatible OpenAPI 3.0.X Schema Object",
"keywords": [
"json",
Expand Down Expand Up @@ -33,6 +33,7 @@
},
"dependencies": {
"json-schema-traverse": "^1.0.0",
"lodash.clonedeep": "^4.5.0",
"uuid": "^9.0.0"
}
}
Loading