Skip to content

Commit 57dfbe2

Browse files
committed
upgrade ci workflows to node 22
1 parent b523198 commit 57dfbe2

File tree

1 file changed

+9
-19
lines changed

1 file changed

+9
-19
lines changed

.github/workflows/main.yml

Lines changed: 9 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -20,36 +20,26 @@ jobs:
2020
runs-on: ubuntu-latest
2121
steps:
2222
- name: Checkout
23-
uses: actions/checkout@v3
24-
25-
- name: Setup Python
26-
uses: actions/setup-python@v4
27-
with:
28-
python-version: '3.9'
23+
uses: actions/checkout@v4
2924

3025
- name: Setup Nodejs
3126
uses: actions/setup-node@v3
3227
with:
33-
node-version: 16
28+
node-version: 22
3429

3530
- name: Install dependencies
3631
run: |
3732
make install
3833
3934
- name: Start LocalStack
35+
uses: LocalStack/[email protected]
36+
with:
37+
image-tag: 'latest'
38+
use-pro: 'true'
39+
configuration: LS_LOG=trace
40+
install-awslocal: 'true'
4041
env:
41-
LOCALSTACK_API_KEY: ${{ secrets.LOCALSTACK_API_KEY }}
42-
LOCALSTACK_VOLUME_DIR: ${{ github.workspace }}/ls_test
43-
run: |
44-
mkdir ls_test
45-
ls -la ls_test
46-
docker pull localstack/localstack-pro:latest
47-
# Start LocalStack in the background
48-
LS_LOG=trace localstack start -d
49-
# Wait 30 seconds for the LocalStack container to become ready before timing out
50-
echo "Waiting for LocalStack startup..."
51-
localstack wait -t 15
52-
echo "Startup complete"
42+
LOCALSTACK_AUTH_TOKEN: ${{ secrets.LOCALSTACK_AUTH_TOKEN }}
5343

5444
- name: Deploy the application
5545
env:

0 commit comments

Comments
 (0)