From ac224bbc4307be5605ec1304b4b227c1f2b08061 Mon Sep 17 00:00:00 2001 From: Pawel Pograniczny Date: Thu, 4 Apr 2024 16:04:25 +0200 Subject: [PATCH] ci: run serverless offine in workflow --- .env.dist | 6 +++--- .github/workflows/tests.yml | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.env.dist b/.env.dist index 4486a52..56868af 100644 --- a/.env.dist +++ b/.env.dist @@ -1,6 +1,6 @@ APP_NAME=tshExampleApp AWS_LAMBDAS_REGION=eu-west-1 POSTGRES_URL=postgres://postgres:password@127.0.0.1:5432/app -SECURITY_GROUP_ID= -SUBNET_ID_1= -SUBNET_ID_2= +SECURITY_GROUP_ID=exampleId +SUBNET_ID_1=exampleId +SUBNET_ID_2=exampleId diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 5ee68e3..8cf9432 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -14,7 +14,9 @@ jobs: - uses: actions/checkout@v4 - run: cp .env.dist .env - run: npm ci + - run: docker-compose up -d - run: npm run lint + - run: npm run dev - run: npm run test-coverage sonarqube-analysis: