Skip to content

fix workflows

fix workflows #16

Workflow file for this run

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