fix workflows #16
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: [push, pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Enable Corepack | |
run: corepack enable | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
- name: Run tests in webpack example | |
run: | | |
yarn install | |
npx playwright install --with-deps | |
yarn test-storybook:ci-coverage | |
working-directory: examples/webpack5 | |
- name: Run tests in vite example | |
run: | | |
yarn install | |
npx playwright install --with-deps | |
yarn test-storybook:ci-coverage | |
working-directory: examples/vite | |
- name: Generate code coverage | |
uses: codecov/codecov-action@v3 | |
with: | |
verbose: true |