feat: add local template support with --from-path option #2510
Workflow file for this run
This file contains hidden or 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
# ~~ Generated by projen. To modify, edit .projenrc.ts and run "npx projen". | |
name: codecov | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
collect: | |
runs-on: aws-cdk_ubuntu-latest_4-core | |
permissions: | |
id-token: write | |
if: github.repository == 'aws/aws-cdk-cli' | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: lts/* | |
- name: Install dependencies | |
run: yarn install | |
- name: Reset coverage thresholds | |
run: find . -name "jest.config.json" -type f -exec chmod +w {} \; -exec node -e "const fs=require('fs'); const file=process.argv[1]; const data=JSON.parse(fs.readFileSync(file)); data.coverageThreshold={ }; fs.writeFileSync(file, JSON.stringify(data, null, 2));" {} \; | |
- name: Build and test CLI | |
run: yarn nx run aws-cdk:build | |
- name: Upload results to Codecov | |
uses: codecov/codecov-action@v5 | |
with: | |
disable_search: true | |
files: packages/aws-cdk/coverage/cobertura-coverage.xml | |
fail_ci_if_error: true | |
flags: suite.unit | |
use_oidc: true |