From 172c901cc4c119e4be10180688980bee24bbcbac Mon Sep 17 00:00:00 2001 From: Tim Deschryver <28659384+timdeschryver@users.noreply.github.com> Date: Wed, 13 Mar 2024 16:01:15 +0100 Subject: [PATCH] ci: run tests before build --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ebf09aa..6350b5a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,10 +23,10 @@ jobs: node-version: ${{ matrix.node-version }} - name: install run: npm install - - name: build - run: npm run build - name: test run: npm run test + - name: build + run: npm run build - name: Release if: github.repository == 'timdeschryver/ngrx-immer' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/beta') run: npx semantic-release