Skip to content

Commit

Permalink
chore: allow overriding of OAS_FILE, to lint fixed file
Browse files Browse the repository at this point in the history
  • Loading branch information
YOU54F committed May 13, 2024
1 parent ea3ef17 commit fc6aabe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
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
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
### Variables ###
##############################

OAS_FILE=openapi/openapi.yaml
OAS_FILE?=openapi/openapi.yaml
ENDPOINT?=http://localhost:3001
HEALTHCHECK_PATH?=http://localhost:3001/products
PROJECT_FOLDER?=project
Expand Down

0 comments on commit fc6aabe

Please sign in to comment.