refactor: update packages #41
Workflow file for this run
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: cdk synth ( dev ) | |
on: | |
push: | |
branches: | |
- '*' | |
env: | |
AWS_ROLE_ARN: arn:aws:iam::887442827229:role/GithubActions_decidim-cfj-cdk | |
jobs: | |
cdk_synth: | |
name: cdk synth | |
runs-on: ubuntu-latest | |
timeout-minutes: 15 | |
permissions: | |
actions: write | |
contents: read | |
id-token: write | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: aws switch role | |
uses: aws-actions/configure-aws-credentials@v1 | |
with: | |
role-to-assume: ${{ env.AWS_ROLE_ARN }} | |
aws-region: ap-northeast-1 | |
- name: cdk synth | |
uses: youyo/aws-cdk-github-actions@v2 | |
with: | |
cdk_subcommand: 'synth' | |
cdk_version: '2.115.0' | |
working_dir: 'cdk' | |
cdk_args: '--context stage=dev' | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
AWS_DEFAULT_REGION: 'ap-northeast-1' |