chore: pr labeler workflow #295
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
# ~~ 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: Build and test CLI | |
run: yarn nx run aws-cdk:build | |
- name: Upload results to Codecov | |
uses: codecov/codecov-action@v5 | |
with: | |
files: packages/aws-cdk/coverage/cobertura-coverage.xml | |
fail_ci_if_error: true | |
flags: suite.unit | |
use_oidc: true |