Skip to content

build(deps): Bump pnpm/action-setup from 2.2.4 to 2.4.0 #129

build(deps): Bump pnpm/action-setup from 2.2.4 to 2.4.0

build(deps): Bump pnpm/action-setup from 2.2.4 to 2.4.0 #129

Workflow file for this run

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