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
|
||||
with:
|
||||
node-version: ${{ env.node_version }}
|
||||
- run: yarn install --frozen-lockfile
|
||||
- run: yarn lint
|
||||
- run: yarn prettier
|
||||
- run: yarn test
|
||||
- name: Install dependencies
|
||||
run: yarn install --frozen-lockfile
|
||||
- name: Lint check
|
||||
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