From 9e9dbec2c02961856772b52722899d816e41ed1b Mon Sep 17 00:00:00 2001 From: Alan Alickovic Date: Sun, 28 Apr 2024 19:09:14 +0200 Subject: [PATCH] update pipeline steps --- .github/workflows/ci.yml | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1b813493..caffb92f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,13 +12,20 @@ jobs: - uses: actions/setup-node@v4 with: node-version: lts/* - - run: mv .env.example .env - - run: yarn install - - run: yarn build - - run: yarn test - - run: yarn lint - - run: yarn check-format - - run: yarn check-types + - name: Set environment variables + run: mv .env.example .env + - name: Install dependencies + run: yarn install + - name: Build application + run: yarn build + - name: Run tests + run: yarn test + - name: Run linter + run: yarn lint + - name: Check formatting + run: yarn check-format + - name: Check types + run: yarn check-types e2e: timeout-minutes: 60 runs-on: ubuntu-latest @@ -27,6 +34,8 @@ jobs: - uses: actions/setup-node@v4 with: node-version: lts/* + - name: Set environment variables + run: mv .env.example .env - name: Install dependencies run: npm install -g yarn && yarn - name: Install Playwright Browsers