chore: setup smoke & acceptance testing
This commit is contained in:
parent
474a3dc1fb
commit
bd0886a9b3
1 changed files with 15 additions and 5 deletions
18
.github/workflows/check.yml
vendored
18
.github/workflows/check.yml
vendored
|
|
@ -15,7 +15,17 @@ jobs:
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: ${{ env.node_version }}
|
node-version: ${{ env.node_version }}
|
||||||
- run: yarn install --frozen-lockfile
|
- name: Install dependencies
|
||||||
- run: yarn lint
|
run: yarn install --frozen-lockfile
|
||||||
- run: yarn prettier
|
- name: Lint check
|
||||||
- run: yarn test
|
run: yarn lint
|
||||||
|
- name: Format check
|
||||||
|
run: yarn prettier
|
||||||
|
- name: Unit & Integration tests
|
||||||
|
run: yarn test
|
||||||
|
- name: Smoke & Acceptance tests
|
||||||
|
run:
|
||||||
|
- yarn build-storybook --quiet
|
||||||
|
- npx concurrently -k -s first -n "SB,TEST" -c "magenta,blue" \
|
||||||
|
"npx http-server storybook-static --port 6006 --silent" \
|
||||||
|
"npx wait-on tcp:6006 && yarn test-storybook"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue