File tree Expand file tree Collapse file tree 1 file changed +9
-18
lines changed
Expand file tree Collapse file tree 1 file changed +9
-18
lines changed Original file line number Diff line number Diff line change @@ -20,21 +20,17 @@ jobs:
2020 runs-on : ubuntu-latest
2121 steps :
2222 - name : Checkout
23- uses : actions/checkout@v3
23+ uses : actions/checkout@v4
2424
2525 - name : Setup Node.js
2626 uses : actions/setup-node@v3
2727 with :
2828 node-version : 18
2929
3030 - name : Start LocalStack
31- uses : LocalStack/setup-localstack@v0.2.2
31+ uses : LocalStack/setup-localstack@v0.2.4
3232 env :
33- LOCALSTACK_API_KEY : ${{ secrets.LOCALSTACK_API_KEY }}
34- DNS_ADDRESS : 0
35- DEBUG : 1
36- with :
37- use-pro : ' true'
33+ LOCALSTACK_AUTH_TOKEN : ${{ secrets.LOCALSTACK_AUTH_TOKEN }}
3834
3935 - name : Install tflocal
4036 run : pip install terraform-local
4541 cdklocal --version
4642
4743 - name : Install dependencies
48- run : yarn
49-
50- - name : Prepare Lambda functions
51- run : yarn build:backend
52-
53- - name : Bootstrap the infrastructure
54- run : |
55- yarn cdklocal bootstrap
56- sleep 10
44+ run : make install
5745
5846 - name : Deploy the infrastructure
5947 uses : nick-fields/retry@v2
6351 timeout_seconds : 120
6452 retry_wait_seconds : 10
6553 command : |
66- yarn cdklocal deploy
54+ make deploy
55+
56+ - name : Deploy the frontend
57+ run : make frontend
6758
6859 - name : Send a Slack notification
6960 if : failure() || github.event_name != 'pull_request'
8576
8677 - name : Upload the Diagnostic Report
8778 if : failure()
88- uses : actions/upload-artifact@v3
79+ uses : actions/upload-artifact@v4
8980 with :
9081 name : diagnose.json.gz
9182 path : ./diagnose.json.gz
You can’t perform that action at this time.
0 commit comments