From 22ac1cc7ddecbf2591368073d32223bd98ff9533 Mon Sep 17 00:00:00 2001 From: Sergey Roytman Date: Mon, 16 Oct 2023 12:54:19 +0300 Subject: [PATCH] infra: add build-test in test-workflow.yml (#1663) --- .github/workflows/test-workflow.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.github/workflows/test-workflow.yml b/.github/workflows/test-workflow.yml index 2d24f6ab3d..1fd95b6648 100644 --- a/.github/workflows/test-workflow.yml +++ b/.github/workflows/test-workflow.yml @@ -59,6 +59,24 @@ jobs: run: | npm run stylelint + build-test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v3 + with: + node-version-file: ".nvmrc" + - name: Install + run: | + npm ci + env: + NODE_AUTH_TOKEN: ${{secrets.npm_token}} + + - name: Test + if: success() + run: | + npm run build + build-storybook-test: runs-on: ubuntu-latest steps: