Skip to content

Commit

Permalink
Moved the test into typescript.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nilscb committed Nov 3, 2023
1 parent 27cb833 commit b4dfdca
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 43 deletions.
43 changes: 0 additions & 43 deletions .github/workflows/smoke_test.yml

This file was deleted.

9 changes: 9 additions & 0 deletions .github/workflows/typescript.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,3 +108,12 @@ jobs:
git commit -m "Update Github Pages"
git push "https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git" gh-pages
fi
- name: Serve Storybook and run tests
env:
PORT: 8080
HOST: 127.0.0.1
run: |
npx concurrently -k -s first -n "SB,TEST" -c "magenta,blue" \
"npx http-server storybook-static --port $PORT -a $HOST" \
"npx wait-on http://$HOST:$PORT/ && npm run storybook:test -- --ci --url http://$HOST:$PORT/"

0 comments on commit b4dfdca

Please sign in to comment.