Skip to content

Commit

Permalink
Merge pull request #957 from w3c-ccg/fix/open-api
Browse files Browse the repository at this point in the history
Fix/open api
  • Loading branch information
nissimsan authored Jun 27, 2024
2 parents aa4fe1f + 6dd6d32 commit a5a47b3
Show file tree
Hide file tree
Showing 6 changed files with 289 additions and 13 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ jobs:
name: Publish unstable release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Use Node 16
uses: actions/setup-node@v3
- name: Use Node 20
uses: actions/setup-node@v4
with:
node-version: 16.x
node-version: 20.x
cache: 'npm'

- name: Install
Expand All @@ -27,7 +27,7 @@ jobs:

- name: Test
run: npm run test

- name: Bundle
run: npm run bundle

Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Begin CI...
uses: actions/checkout@v3
- name: Use Node 16
uses: actions/setup-node@v3
uses: actions/checkout@v4
- name: Use Node 20
uses: actions/setup-node@v4
with:
node-version: 16.x
node-version: 20.x
cache: 'npm'
- name: Install
run: npm ci
Expand All @@ -21,3 +21,6 @@ jobs:

- name: Jest
run: cd packages/traceability-schemas && npm run test

- name: validate OpenApi Bundle
run: npm run validate
Original file line number Diff line number Diff line change
Expand Up @@ -142,4 +142,4 @@ example: |-
},
"CO2e": "1190"
}
}
}
Loading

0 comments on commit a5a47b3

Please sign in to comment.