Merge pull request #1 from SmartBear-DevRel/ci #21
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ci | |
on: | |
push: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
- run: make setup | |
- run: make do_openapi_lint || true | |
- run: OAS_FILE=openapi-fixed.yaml make do_openapi_lint | |
- run: make provider_mock_prism & | |
- run: sleep 15 && make request | |
- run: make do_openapi2soapui | |
- run: make do_soapui_test | |
- run: docker stop prism | |
- run: make do_generate_consumer | |
- run: make do_consumer_test | |
- run: make do_consumer_pact_verify_openapi | |
- run: make do_generate_provider | |
- run: make do_provider_test |