feat: add 2 CodeBuild projects for GitHub runners #7
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
name: Build | |
on: | |
push: | |
branches: | |
- "*" | |
jobs: | |
build: | |
runs-on: | |
- codebuild-gha-runners-lambda-${{ github.run_id }}-${{ github.run_attempt }} | |
- instance-size:10GB | |
steps: | |
- uses: actions/checkout@v4 | |
- run: npm ci | |
- run: npm run lint | |
name: Lint | |
- name: Build TypeScript | |
run: npm run build | |
- name: CDK Synth | |
run: npx cdk synth --context githuborg=test |