From b3c9ba2b495ae7b7e0b3f14c33f08c79bbae258f Mon Sep 17 00:00:00 2001 From: Brandon Liu Date: Wed, 19 Oct 2022 23:07:38 +0800 Subject: [PATCH] CI fixes --- .github/workflows/actions.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 8403c1c..9aff876 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -21,7 +21,7 @@ jobs: - run: cd js && npm install && npm run build - run: echo "VITE_GIT_SHA=$(git rev-parse --short HEAD)" >> app/.env - run: cd app && npm install && ./node_modules/.bin/tsc && ./node_modules/.bin/vite build --base=/PMTiles/ - - run: cd serverless/aws && python create_lambda_function.py && cp lambda_function.zip ../../app/dist + - run: cd serverless/aws && npm install && npm run build && cp dist/lambda_function.zip ../../app/dist - run: cd serverless/cloudflare && npm install && npm run build && cp dist/index.js ../../app/dist - name: build_app uses: peaceiris/actions-gh-pages@v3 @@ -43,5 +43,5 @@ jobs: - run: cd js && npm install && npm test - run: cd python && python -m unittest test/test_* - run: cd cpp && make - - run: cd serverless/aws && python -m unittest test_*.py + - run: cd serverless/aws && npm install && npm test - run: cd serverless/cloudflare && npm install && npm test