-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #16 from awslabs/uploadAssetWorkflow
ci: added ci for web and cdk
- Loading branch information
Showing
1 changed file
with
28 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,6 +18,12 @@ | |
with: | ||
python-version: 3.9 | ||
|
||
- name: setup node for the whole package | ||
uses: actions/setup-node@v3 | ||
|
||
- name: npm install | ||
run: npm install | ||
|
||
- name: Install Poetry Action | ||
uses: snok/install-poetry@v1 | ||
with: | ||
|
@@ -26,7 +32,27 @@ | |
virtualenvs-in-project: true | ||
virtualenvs-path: backend/.venv | ||
installer-parallel: true | ||
|
||
|
||
- name: Run yarn install | ||
uses: Borales/[email protected] | ||
with: | ||
dir: 'web' | ||
cmd: install | ||
|
||
- name: web build | ||
working-directory: web | ||
env: | ||
CI: "" | ||
run: npm run build | ||
|
||
- name: cdk package install | ||
working-directory: infra | ||
run: npm install | ||
|
||
- name: cdk package build | ||
working-directory: infra | ||
run: CDK_NAG_ENABLED=true npx cdk synth | ||
|
||
- name: run checks | ||
working-directory: backend | ||
run: make all | ||
run: make all |