File tree Expand file tree Collapse file tree 2 files changed +14
-10
lines changed
Expand file tree Collapse file tree 2 files changed +14
-10
lines changed Original file line number Diff line number Diff line change @@ -19,21 +19,25 @@ jobs:
1919 id-token : write
2020 steps :
2121 - name : Checkout
22- uses : actions/checkout@v3
22+ uses : actions/checkout@v5
23+
24+ - name : Setup Node.js
25+ uses : actions/setup-node@v5
26+ with :
27+ node-version : ' 22'
28+ cache : ' npm'
29+
30+ - name : Install Dependencies
31+ run : npm install
2332
2433 - name : aws switch role
2534 uses : aws-actions/configure-aws-credentials@v1
2635 with :
2736 role-to-assume : ${{ env.AWS_ROLE_ARN }}
2837 aws-region : ap-northeast-1
2938
30- - name : cdk synth
31- uses : youyo/aws-cdk-github-actions@v2
32- with :
33- cdk_subcommand : ' synth'
34- cdk_version : ' 2.1024.1'
35- working_dir : ' cdk'
36- cdk_args : ' --context stage=dev'
39+ - name : CDK Synth
40+ run : npx cdk synth --context stage=dev
3741 env :
3842 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3943 AWS_DEFAULT_REGION : ' ap-northeast-1'
Original file line number Diff line number Diff line change 1818 node : [ '22' ]
1919
2020 steps :
21- - uses : actions/checkout@v2
21+ - uses : actions/checkout@v5
2222 - name : Setup NodeJs
23- uses : actions/setup-node@v3
23+ uses : actions/setup-node@v5
2424 with :
2525 node-version : ${{ matrix.node }}
2626 - name : Install Dependencies
You can’t perform that action at this time.
0 commit comments