Skip to content

Commit e520355

Browse files
committed
ci: setup NodeJS and generare application on Python
Part of #13
1 parent 9d6e73c commit e520355

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/generate-python-app.yml

+11
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,14 @@ jobs:
1313
with:
1414
# Whether to configure the token or SSH key with the local git config. Default: true
1515
persist-credentials: false
16+
- name: Setup NodeJS
17+
uses: actions/[email protected] # https://github.com/actions/setup-node
18+
with:
19+
node-version: 16
20+
- name: Install project dependencies
21+
run: npm ci # https://docs.npmjs.com/cli/v8/commands/npm-ci
22+
- name: Generate Python + FastAPI application
23+
run: ../../src/cli.js --lang python
24+
working-directory: examples/python
25+
- name: Check whether files were modified
26+
run: git status --short

0 commit comments

Comments
 (0)