-
Notifications
You must be signed in to change notification settings - Fork 11
53 lines (52 loc) · 1.85 KB
/
test-aws-cdk-integration.yml
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# ~~ Generated by projen. To modify, edit .projenrc.ts and run "npx projen".
name: test-aws-cdk-integration
on:
workflow_dispatch: {}
pull_request: {}
merge_group:
branches:
- main
jobs:
test-with-new-codegen:
runs-on: awscdk-service-spec_ubuntu-latest_32-core
permissions:
contents: read
env:
CI: "1"
NODE_OPTIONS: --max-old-space-size=8196
steps:
- name: Checkout awscdk-service-spec
uses: actions/checkout@v3
with:
path: awscdk-service-spec
ref: ${{ github.event.pull_request.head.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
lfs: true
- name: Build awscdk-service-spec
run: |-
yarn install --frozen-lockfile
yarn compile
working-directory: awscdk-service-spec
- name: Checkout aws/aws-cdk
uses: actions/checkout@v3
with:
path: aws-cdk
repository: aws/aws-cdk
- name: Register drop-in @aws-cdk/aws-service-spec replacement
run: yarn link
working-directory: awscdk-service-spec/packages/@aws-cdk/aws-service-spec
- name: Link drop-in @aws-cdk/aws-service-spec replacement
run: yarn link "@aws-cdk/aws-service-spec"
working-directory: aws-cdk
- name: Register drop-in @aws-cdk/service-spec-types replacement
run: yarn link
working-directory: awscdk-service-spec/packages/@aws-cdk/service-spec-types
- name: Link drop-in @aws-cdk/service-spec-types replacement
run: yarn link "@aws-cdk/service-spec-types"
working-directory: aws-cdk
- name: Setup aws/aws-cdk
run: yarn install
working-directory: aws-cdk
- name: Build aws/aws-cdk
run: npx lerna run build --no-bail --scope aws-cdk-lib --include-dependencies
working-directory: aws-cdk