fix: Update tsconfig #121
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: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- "**" | |
permissions: read-all | |
jobs: | |
continuous-integration: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Cancel Previous Runs | |
uses: styfle/[email protected] | |
with: | |
access_token: ${{ github.token }} | |
- uses: actions/[email protected] | |
- uses: pnpm/[email protected] | |
with: | |
version: 8.6.5 | |
- name: Set up Node 18.x | |
uses: actions/[email protected] | |
with: | |
node-version: "18.x" | |
cache: "pnpm" | |
- name: Install Node dependencies | |
run: pnpm install --frozen-lockfile | |
- name: Check uncommitted formatting changes | |
run: pnpm prettier . --check | |
- name: Check for linting errors | |
run: pnpm lint | |
- name: Check shell scripts | |
uses: ludeeus/[email protected] | |
with: | |
ignore_paths: >- | |
.husky/_ | |
node_modules | |
- name: Typecheck | |
run: pnpm typecheck | |
- name: Test | |
run: pnpm test -- --ci | |
deployment-check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Cancel Previous Runs | |
uses: styfle/[email protected] | |
with: | |
access_token: ${{ github.token }} | |
- uses: actions/[email protected] | |
- uses: pnpm/[email protected] | |
with: | |
version: 8.6.5 | |
- name: Set up Node 18.x | |
uses: actions/[email protected] | |
with: | |
node-version: "18.x" | |
cache: "pnpm" | |
- name: Install Node dependencies for deployment | |
run: pnpm install --production | |
- name: Synthesize CloudFormation template and assets | |
run: pnpm synth | |
- name: Check synthesized CloudFormation template with Checkov | |
uses: bridgecrewio/checkov-action@master | |
with: | |
directory: cdk.out | |
framework: cloudformation | |
- name: Check Github Actions configuration with Checkov | |
uses: bridgecrewio/checkov-action@master | |
with: | |
directory: .github | |
framework: github_actions |