From ef8e063b719bfcce2f7004762546c8f19424d0d6 Mon Sep 17 00:00:00 2001 From: Alex Varchuk Date: Thu, 12 May 2022 15:24:26 +0300 Subject: [PATCH] fix: unit test for deployment --- .github/workflows/publish-cli.yml | 2 +- .github/workflows/publish.yml | 2 +- .github/workflows/unit-tests.yml | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish-cli.yml b/.github/workflows/publish-cli.yml index 91d3daf4..635eae5e 100644 --- a/.github/workflows/publish-cli.yml +++ b/.github/workflows/publish-cli.yml @@ -35,7 +35,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - - run: npm ci + - run: npm ci && npm ci --prefix cli - run: npm test e2e-tests: needs: [bundle] diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index cd5b34de..5146cb04 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -31,7 +31,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - - run: npm ci + - run: npm ci && npm ci --prefix cli - run: npm test e2e-tests: needs: [bundle] diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 64fd5453..3df1b925 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -7,7 +7,6 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - - run: npm ci - - run: npm ci --prefix cli + - run: npm ci && npm ci --prefix cli - run: npm run bundle - run: npm test