Add component testing to CI
This commit is contained in:
parent
056bbb65f4
commit
9321fe5681
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
|
@ -116,8 +116,8 @@ jobs:
|
||||||
dry: true
|
dry: true
|
||||||
prettier_options: --check packages/components --ignore-path packages/components/.prettierignore
|
prettier_options: --check packages/components --ignore-path packages/components/.prettierignore
|
||||||
|
|
||||||
components-bundle-build:
|
components-bundle-build-test:
|
||||||
name: Components bundle and build
|
name: Components bundle and build, test
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: pre_check
|
needs: pre_check
|
||||||
if: ${{ (needs.pre_check.outputs.should_skip_components != 'true') || (needs.pre_check.outputs.should_skip_lang != 'true') }}
|
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
|
run: yarn bundle
|
||||||
- name: Build storybook
|
- name: Build storybook
|
||||||
run: yarn build
|
run: yarn build
|
||||||
|
- name: Test components
|
||||||
|
run: yarn test
|
||||||
|
|
||||||
website-lint:
|
website-lint:
|
||||||
name: Website lint
|
name: Website lint
|
||||||
|
|
Loading…
Reference in New Issue
Block a user