From df848f64a1015e3a18de75b08223ecf3e77b3b51 Mon Sep 17 00:00:00 2001 From: Teo Anastasiadis Date: Thu, 8 Feb 2024 15:40:58 +0200 Subject: [PATCH] ci: update ci.yaml --- .github/workflows/ci.yaml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 0d1c58c..682d2d6 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -2,14 +2,14 @@ name: CI on: push: - branches: [ "main" ] + branches: ["main"] pull_request: - branches: [ "main" ] + branches: ["main"] jobs: build: runs-on: ubuntu-latest - env: + env: NODE_ENV: development DATABASE_URL: ${{ secrets.DATABASE_URL }} DEV_DATABASE_URL: ${{ secrets.DEV_DATABASE_URL }} @@ -20,11 +20,11 @@ jobs: FACEBOOK_APP_SECRET: ${{ secrets.FACEBOOK_APP_SECRET }} VIBER_BOT_SECRET: ${{ secrets.VIBER_BOT_SECRET }} steps: - - uses: actions/checkout@v3 - uses: actions/setup-node@v3 - with: - node-version: 18 - cache: 'npm' - - run: npm ci - - run: npm run lint - - run: npm run test:e2e \ No newline at end of file + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: 18 + cache: "npm" + - run: npm ci + - run: npm run lint + - run: npm run test:e2e