Skip to content

Commit 816c5f7

Browse files
committed
remove deploy step
1 parent f29630b commit 816c5f7

File tree

1 file changed

+6
-25
lines changed

1 file changed

+6
-25
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Deploy on LocalStack
1+
name: Deploy on LocalStack
22

33
on:
44
push:
@@ -10,7 +10,7 @@ on:
1010
branches:
1111
- main
1212
schedule:
13-
# At 00:00 on Sunday.
13+
# "At 00:00 on Sunday."
1414
- cron: "0 0 * * 0"
1515
workflow_dispatch:
1616

@@ -27,43 +27,24 @@ jobs:
2727
with:
2828
node-version: 22
2929

30-
- name: Install CDK
31-
run: |
32-
npm install -g aws-cdk-local aws-cdk
33-
cdklocal --version
34-
3530
- name: Install dependencies
3631
run: |
37-
yarn
32+
npm install
3833
3934
- name: Start LocalStack
4035
env:
4136
LOCALSTACK_AUTH_TOKEN: ${{ secrets.LOCALSTACK_AUTH_TOKEN }}
4237
run: |
4338
pip install localstack awscli-local[ver1]
44-
pip install terraform-local
4539
docker pull localstack/localstack-pro:latest
46-
# Start LocalStack in the background
4740
EXTRA_CORS_ALLOWED_ORIGINS=* DEBUG=1 LOCALSTACK_AUTH_TOKEN=$LOCALSTACK_AUTH_TOKEN localstack start -d
48-
# Wait 30 seconds for the LocalStack container to become ready before timing out
4941
echo "Waiting for LocalStack startup..."
50-
localstack wait -t 15
42+
localstack wait -t 30
5143
echo "Startup complete"
5244
53-
- name: Deploy using CDK
54-
run: |
55-
cdklocal bootstrap aws://000000000000/us-east-1
56-
cdklocal deploy --require-approval never --outputs-file cdk_outputs.json
57-
58-
- name: List the resources
59-
run: |
60-
awslocal lambda list-functions
61-
awslocal sqs list-queues
62-
awslocal dynamodb list-tables
63-
64-
- name: Run the tests
45+
- name: Run integration tests
6546
run: |
66-
yarn integ-test
47+
./run-integ-tests.sh
6748
6849
- name: Send a Slack notification
6950
if: failure() || github.event_name != 'pull_request'

0 commit comments

Comments
 (0)