Skip to content

Commit

Permalink
Merge pull request #16 from awslabs/uploadAssetWorkflow
Browse files Browse the repository at this point in the history
ci: added ci for web and cdk
  • Loading branch information
ravij3 authored Feb 10, 2023
2 parents 6de145d + 335f711 commit fb31f7a
Showing 1 changed file with 28 additions and 2 deletions.
30 changes: 28 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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

0 comments on commit fb31f7a

Please sign in to comment.