From 9321fe56815a06bd2409a8a12e0facc39b4c5c83 Mon Sep 17 00:00:00 2001 From: Sam Nolan Date: Fri, 30 Sep 2022 15:27:07 +1000 Subject: [PATCH] Add component testing to CI --- .github/workflows/ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dac2c269..9c9b8a46 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -116,8 +116,8 @@ jobs: dry: true prettier_options: --check packages/components --ignore-path packages/components/.prettierignore - components-bundle-build: - name: Components bundle and build + components-bundle-build-test: + name: Components bundle and build, test runs-on: ubuntu-latest needs: pre_check if: ${{ (needs.pre_check.outputs.should_skip_components != 'true') || (needs.pre_check.outputs.should_skip_lang != 'true') }} @@ -135,6 +135,8 @@ jobs: run: yarn bundle - name: Build storybook run: yarn build + - name: Test components + run: yarn test website-lint: name: Website lint