This repository has been archived by the owner on Aug 21, 2024. It is now read-only.
chore(deps): bump aws-cdk-lib from 2.152.0 to 2.153.0 #4356
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: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
cache: "npm" | |
- name: Install dependencies | |
run: npm ci | |
- name: Lint and test | |
run: | | |
npm run lint | |
npm run test | |
- uses: codecov/codecov-action@v4 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
directory: ./coverage | |
fail_ci_if_error: true | |
deploy: | |
needs: | |
- build | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.job }} | |
environment: Production | |
runs-on: ubuntu-latest | |
permissions: | |
id-token: write | |
contents: read | |
if: github.ref == 'refs/heads/main' | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
cache: "npm" | |
- name: Install dependencies | |
run: npm ci | |
- name: Configure AWS credentials | |
uses: aws-actions/configure-aws-credentials@v4 | |
with: | |
role-to-assume: arn:aws:iam::160845942221:role/GitHubOpenIdConnect-Role-C5NSLXSP0L1S | |
aws-region: us-east-1 | |
- name: Deploy stack | |
run: npm run cdk deploy --all |