File tree Expand file tree Collapse file tree 4 files changed +8
-5
lines changed
Expand file tree Collapse file tree 4 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 8181 - name : " zip html release asset"
8282 # Git hub pages needs a single tar called artifact inside the zip.
8383 working-directory : ./artifacts/sdk-html-${{ inputs.version }}
84- run : zip -r sdk-html-${{ inputs.version }}.zip .
84+ run : zip -r ../ sdk-html-${{ inputs.version }}.zip .
8585 shell : bash
8686
8787 - name : " Upload sdk html release asset"
9797 - name : " zip sdk ts release asset"
9898 # Git hub pages needs a single tar called artifact inside the zip.
9999 working-directory : ./artifacts/sdk-ts-${{ inputs.version }}
100- run : zip -r sdk-ts-${{ inputs.version }}.zip .
100+ run : zip -r ../ sdk-ts-${{ inputs.version }}.zip .
101101 shell : bash
102102
103103 - name : " Upload sdk ts release asset"
@@ -113,7 +113,7 @@ jobs:
113113 - name : " zip sdk python release asset"
114114 # Git hub pages needs a single tar called artifact inside the zip.
115115 working-directory : ./artifacts/sdk-python-${{ inputs.version }}
116- run : zip -r sdk-python-${{ inputs.version }}.zip .
116+ run : zip -r ../ sdk-python-${{ inputs.version }}.zip .
117117 shell : bash
118118
119119 - name : " Upload sdk python release asset"
Original file line number Diff line number Diff line change @@ -24,6 +24,8 @@ clean:: # Clean-up project resources (main) @Operations
2424 rm -f .version
2525 (cd sdk && make clean)
2626
27+ serve :
28+ npm run serve
2729
2830config :: _install-dependencies version # Configure development environment (main) @Configuration
2931 npm install
Original file line number Diff line number Diff line change @@ -61,12 +61,12 @@ This will generate:
6161To view HTML docs:
6262
6363``` bash
64- npm run serve-html-docs
64+ make serve
6565```
6666
6767by default they will be available at [ http://localhost:3050 ] ( http://localhost:3050 )
6868
69- Currently these are include in Git. TODO: gitignore these and have the build pipeline generate artifacts that can be downloaded from GitHub.
69+ These are generated using [ https://hub.docker.com/r/openapitools/openapi-generator-cli ] ( https://hub.docker.com/r/openapitools/openapi-generator-cli )
7070
7171## Licence
7272
Original file line number Diff line number Diff line change 5353 "generate:ts" : " docker run --rm --user $(id -u) -v ${PWD}:/local openapitools/openapi-generator-cli generate -i /local/specification/api/notify-supplier.yml -g typescript -o /local/sdk/typescript --skip-validate-spec" ,
5454 "lint" : " npm run lint --workspaces" ,
5555 "lint:fix" : " npm run lint:fix --workspaces" ,
56+ "serve" : " npm run serve-html-docs" ,
5657 "serve-html-docs" : " npx serve sdk/html -p 3050" ,
5758 "start" : " npm run start --workspace frontend" ,
5859 "test:unit" : " npm run test:unit --workspaces" ,
You can’t perform that action at this time.
0 commit comments