From 497bd86620958252dfbd4ebe1d91ae7fd33c507d Mon Sep 17 00:00:00 2001 From: Michal Checinski Date: Thu, 28 Jul 2022 09:37:01 +0200 Subject: [PATCH] Remove tests step to build pipelines --- .github/workflows/build-browser.yml | 12 ++++++++---- .github/workflows/build-desktop.yml | 9 +++++++++ .github/workflows/build-web.yml | 6 ++++++ 3 files changed, 23 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-browser.yml b/.github/workflows/build-browser.yml index aae0348923..d41b0673d9 100644 --- a/.github/workflows/build-browser.yml +++ b/.github/workflows/build-browser.yml @@ -138,10 +138,11 @@ jobs: run: npm ci working-directory: ./ - - name: Build & Test - run: | - npm run dist - npm run test + - name: Build + run: npm run dist + + - name: Test + run: npm run test - name: Gulp run: gulp ci @@ -296,6 +297,9 @@ jobs: run: npm run dist:safari working-directory: apps/browser + - name: Run tests + run: npm run test + - name: Zip Safari build artifact run: | cd apps/browser/dist diff --git a/.github/workflows/build-desktop.yml b/.github/workflows/build-desktop.yml index 222cae49bd..7add547543 100644 --- a/.github/workflows/build-desktop.yml +++ b/.github/workflows/build-desktop.yml @@ -196,6 +196,9 @@ jobs: rustup target add x86_64-unknown-linux-musl npm run build:cross-platform + - name: Run tests + run: npm run test + - name: Build application run: npm run dist:lin @@ -317,6 +320,9 @@ jobs: path: apps/desktop/desktop_native/*.node key: rust-${{ runner.os }}-${{ hashFiles('apps/desktop/desktop_native/**/*') }} + - name: Run tests + run: npm run test + - name: Build Native Module if: steps.cache.outputs.cache-hit != 'true' working-directory: apps/desktop/desktop_native @@ -582,6 +588,9 @@ jobs: run: npm ci working-directory: ./ + - name: Run tests + run: npm run test + - name: Cache Native Module uses: actions/cache@48af2dc4a9e8278b89d7fa154b955c30c6aaab09 # v3.0.2 id: cache diff --git a/.github/workflows/build-web.yml b/.github/workflows/build-web.yml index 6f3ffb1257..ce18a82f1e 100644 --- a/.github/workflows/build-web.yml +++ b/.github/workflows/build-web.yml @@ -94,6 +94,9 @@ jobs: - name: Install dependencies run: npm ci + - name: Run tests + run: npm run test + - name: Build OSS selfhost working-directory: apps/web run: | @@ -139,6 +142,9 @@ jobs: - name: Install dependencies run: npm ci + - name: Run tests + run: npm run test + - name: Build Cloud working-directory: apps/web run: |