-
Notifications
You must be signed in to change notification settings - Fork 4
36 lines (28 loc) · 915 Bytes
/
ci.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# name: AWS CDK CI
# on:
# pull_request:
# branches:
# - master
# jobs:
# build:
# name: Build and Test AWS CDK Typescript Stack
# runs-on: ubuntu-latest
# steps:
# - name: Initiated By User
# run: echo $GITHUB_ACTOR
# - name: Check Out Code
# uses: actions/checkout@v3.1.0
# - name: Install Node
# uses: actions/setup-node@v3.5.0
# - name: Install Dependencies
# run: npm ci
# - name: Build CDK Stack
# run: npm run build
# - name: Run Unit Tests
# run: npm run test
# - name: Diff AWS CDK Stack
# run: "npx cdk diff AwsCloudappStack --ci --require-approval never --no-asset-metadata"
# env:
# AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
# AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
# AWS_DEFAULT_REGION: "ap-southeast-1"