File tree 4 files changed +20
-0
lines changed
4 files changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -21,20 +21,25 @@ jobs:
21
21
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idruns-on
22
22
runs-on : ubuntu-20.04
23
23
steps :
24
+
24
25
- name : Clone source code
25
26
uses :
actions/[email protected] # https://github.com/actions/checkout
26
27
with :
27
28
# Whether to configure the token or SSH key with the local git config. Default: true
28
29
persist-credentials : false
30
+
29
31
- name : Setup NodeJS
30
32
uses :
actions/[email protected] # https://github.com/actions/setup-node
31
33
with :
32
34
node-version : 18
33
35
cache : ' npm'
36
+
34
37
- name : Install project dependencies
35
38
run : npm ci --no-audit --no-fund # https://docs.npmjs.com/cli/v8/commands/npm-ci
39
+
36
40
- name : Generate Golang + Chi application
37
41
run : npm run gen-go-example
42
+
38
43
- name : Check whether all modified files have been committed
39
44
run : >-
40
45
MODIFIED_FILES="$(git status --short)";
Original file line number Diff line number Diff line change @@ -21,20 +21,25 @@ jobs:
21
21
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idruns-on
22
22
runs-on : ubuntu-20.04
23
23
steps :
24
+
24
25
- name : Clone source code
25
26
uses :
actions/[email protected] # https://github.com/actions/checkout
26
27
with :
27
28
# Whether to configure the token or SSH key with the local git config. Default: true
28
29
persist-credentials : false
30
+
29
31
- name : Setup NodeJS
30
32
uses :
actions/[email protected] # https://github.com/actions/setup-node
31
33
with :
32
34
node-version : 18
33
35
cache : ' npm'
36
+
34
37
- name : Install project dependencies
35
38
run : npm ci --no-audit --no-fund # https://docs.npmjs.com/cli/v8/commands/npm-ci
39
+
36
40
- name : Generate JavaScript + Express application
37
41
run : npm run gen-js-example
42
+
38
43
- name : Check whether all modified files have been committed
39
44
run : >-
40
45
MODIFIED_FILES="$(git status --short)";
Original file line number Diff line number Diff line change @@ -21,20 +21,25 @@ jobs:
21
21
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idruns-on
22
22
runs-on : ubuntu-20.04
23
23
steps :
24
+
24
25
- name : Clone source code
25
26
uses :
actions/[email protected] # https://github.com/actions/checkout
26
27
with :
27
28
# Whether to configure the token or SSH key with the local git config. Default: true
28
29
persist-credentials : false
30
+
29
31
- name : Setup NodeJS
30
32
uses :
actions/[email protected] # https://github.com/actions/setup-node
31
33
with :
32
34
node-version : 18
33
35
cache : ' npm'
36
+
34
37
- name : Install project dependencies
35
38
run : npm ci --no-audit --no-fund # https://docs.npmjs.com/cli/v8/commands/npm-ci
39
+
36
40
- name : Generate Python + FastAPI application
37
41
run : npm run gen-py-example
42
+
38
43
- name : Check whether all modified files have been committed
39
44
run : >-
40
45
MODIFIED_FILES="$(git status --short)";
Original file line number Diff line number Diff line change @@ -21,20 +21,25 @@ jobs:
21
21
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idruns-on
22
22
runs-on : ubuntu-20.04
23
23
steps :
24
+
24
25
- name : Clone source code
25
26
uses :
actions/[email protected] # https://github.com/actions/checkout
26
27
with :
27
28
# Whether to configure the token or SSH key with the local git config. Default: true
28
29
persist-credentials : false
30
+
29
31
- name : Setup NodeJS
30
32
uses :
actions/[email protected] # https://github.com/actions/setup-node
31
33
with :
32
34
node-version : 18
33
35
cache : ' npm'
36
+
34
37
- name : Install project dependencies
35
38
run : npm ci --no-audit --no-fund # https://docs.npmjs.com/cli/v8/commands/npm-ci
39
+
36
40
- name : Generate TypeScript + Express application
37
41
run : npm run gen-ts-example
42
+
38
43
- name : Check whether all modified files have been committed
39
44
run : >-
40
45
MODIFIED_FILES="$(git status --short)";
You can’t perform that action at this time.
0 commit comments