-
Notifications
You must be signed in to change notification settings - Fork 0
54 lines (43 loc) · 1.12 KB
/
integration.yml
File metadata and controls
54 lines (43 loc) · 1.12 KB
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
54
name: integration
on:
workflow_call: {}
workflow_dispatch: {}
pull_request:
paths:
- "command/**"
- "src/**"
- "examples/sample-app/**"
- "test/integration/**"
- ".github/workflows/integration.yml"
concurrency:
group: integration-${{ github.ref }}
cancel-in-progress: false
jobs:
deploy-test-destroy:
runs-on: ubuntu-latest
timeout-minutes: 45
permissions:
id-token: write
contents: read
env:
AWS_REGION: eu-central-1
CI: "true"
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: lts/*
- uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- uses: aws-actions/configure-aws-credentials@v5
with:
role-to-assume: ${{ secrets.AWS_INTEG_ROLE_ARN }}
aws-region: ${{ env.AWS_REGION }}
- run: bun install --frozen-lockfile
- run: bun run build-layer
- run: bun run compile
- run: bun run integ:deploy-test-destroy
- name: Cleanup leftover stacks
if: always()
run: bun run integ:cleanup