File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 21
21
- name : Install project dependencies
22
22
run : npm ci --no-audit --no-fund # https://docs.npmjs.com/cli/v8/commands/npm-ci
23
23
- name : Generate Golang + Chi application
24
- run : ../../src/cli.js --lang go
25
- working-directory : examples/go
24
+ run : npm run generate-go-example
26
25
- name : Check whether all modified files have been committed
27
26
run : >-
28
27
MODIFIED_FILES="$(git status --short)";
Original file line number Diff line number Diff line change 21
21
- name : Install project dependencies
22
22
run : npm ci --no-audit --no-fund # https://docs.npmjs.com/cli/v8/commands/npm-ci
23
23
- name : Generate JavaScript + Express application
24
- run : ../../src/cli.js --lang js
25
- working-directory : examples/js
24
+ run : npm run generate-js-example
26
25
- name : Check whether all modified files have been committed
27
26
run : >-
28
27
MODIFIED_FILES="$(git status --short)";
Original file line number Diff line number Diff line change 21
21
- name : Install project dependencies
22
22
run : npm ci --no-audit --no-fund # https://docs.npmjs.com/cli/v8/commands/npm-ci
23
23
- name : Generate Python + FastAPI application
24
- run : ../../src/cli.js --lang python
25
- working-directory : examples/python
24
+ run : npm run generate-py-example
26
25
- name : Check whether all modified files have been committed
27
26
run : >-
28
27
MODIFIED_FILES="$(git status --short)";
Original file line number Diff line number Diff line change 27
27
],
28
28
"scripts" : {
29
29
"start" : " node src/index.js" ,
30
- "test" : " echo \" Error: no test specified\" && exit 1"
30
+ "test" : " echo \" Error: no test specified\" && exit 1" ,
31
+ "gen-js-example" : " cd examples/js; ../../src/cli.js --lang js" ,
32
+ "gen-go-example" : " cd examples/go; ../../src/cli.js --lang go" ,
33
+ "gen-py-example" : " cd examples/python; ../../src/cli.js --lang python"
31
34
},
32
35
"dependencies" : {
33
36
"ejs" : " ~3.1.9" ,
You can’t perform that action at this time.
0 commit comments