File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 1010 workflow_dispatch :
1111
1212env :
13- LOCALSTACK_AUTH_TOKEN : ${{ secrets.LOCALSTACK_API_KEY }}
13+ LOCALSTACK_AUTH_TOKEN : ${{ secrets.LOCALSTACK_AUTH_TOKEN }}
1414 TEST_IMAGE_NAME : public.ecr.aws/lambda/nodejs:22
15+ NODE_VERSION : 22
1516
1617jobs :
1718 unit-test :
2021 - uses : actions/checkout@v6
2122 - uses : actions/setup-node@v6
2223 with :
23- node-version : 22
24+ node-version : ${{ env.NODE_VERSION }}
2425 - run : npm ci
2526 - run : npm test
2627
3031 - uses : actions/checkout@v6
3132 - uses : actions/setup-node@v6
3233 with :
33- node-version : 22
34+ node-version : ${{ env.NODE_VERSION }}
3435
3536 - name : Pull test docker image
3637 run : docker pull $TEST_IMAGE_NAME
@@ -51,13 +52,15 @@ jobs:
5152 image-tag : " latest"
5253 use-pro : " true"
5354 env :
54- LOCALSTACK_AUTH_TOKEN : ${{ secrets .LOCALSTACK_AUTH_TOKEN }}
55+ LOCALSTACK_AUTH_TOKEN : ${{ env .LOCALSTACK_AUTH_TOKEN }}
5556 APPSYNC_JS_LIBS_VERSION : ${{ github.sha }}
5657 DEBUG : " 1"
5758 DISABLE_EVENTS : " 1"
5859 - name : Ensure pro image is used
5960 run : curl -s http://localhost:4566/_localstack/health | grep appsync
6061 - uses : actions/setup-node@v6
62+ with :
63+ node-version : ${{ env.NODE_VERSION }}
6164 - name : Execute test script
6265 run : bash .github/execute-localstack-test.sh
6366 - name : Get the LocalStack logs
You can’t perform that action at this time.
0 commit comments