File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : Build
2- on :
2+ on :
33 push :
44 branches :
5- - main
5+ - main
66 workflow_dispatch :
77 pull_request :
88jobs :
@@ -13,22 +13,32 @@ jobs:
1313 - name : Use Node.js
1414 uses : actions/setup-node@v1
1515 with :
16- node-version : " 22.x"
16+ node-version : ' 22.x'
1717 - run : |
1818 npm ci
19+ npm run format:check
20+ working-directory: ./cdk
21+ name: Install dependencies and run static analysis
22+ - run : |
1923 npm run build
2024 npm run test
2125 working-directory: ./cdk
26+ name: build and test
2227 Build-and-Test-Webapp :
2328 runs-on : ubuntu-latest
2429 steps :
2530 - uses : actions/checkout@v2
2631 - name : Use Node.js
2732 uses : actions/setup-node@v1
2833 with :
29- node-version : " 22.x"
34+ node-version : ' 22.x'
3035 - run : |
3136 npm ci
37+ npm run format:check
38+ working-directory: ./webapp
39+ name: Install dependencies and run static analysis
40+ - run : |
3241 cp .env.local.example .env.local
3342 npm run build
3443 working-directory: ./webapp
44+ name: build
You can’t perform that action at this time.
0 commit comments