Skip to content

chore: Updated yarn.lock #18

chore: Updated yarn.lock

chore: Updated yarn.lock #18

Workflow file for this run

name: Tests
on: [push, pull_request]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
eslint:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ 22.x ]
steps:
- name: Using branch ${{ github.ref }} for repository ${{ github.repository }}.
uses: actions/checkout@v4
- name: Setup Node and dependencies
uses: ./.github/actions/setup-env
with:
node-version: ${{ matrix.node-version }}
- name: Run eslint
run: yarn eslint
tests:
needs: eslint
timeout-minutes: 60
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ 22.x ]
steps:
- name: Using branch ${{ github.ref }} for repository ${{ github.repository }}.
uses: actions/checkout@v4
- name: Setup Node and dependencies
uses: ./.github/actions/setup-env
with:
node-version: ${{ matrix.node-version }}
- name: Run tests
run: yarn test
storybook-tests:
needs: eslint
timeout-minutes: 60
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ 22.x ]
steps:
- name: Using branch ${{ github.ref }} for repository ${{ github.repository }}.
uses: actions/checkout@v4
- name: Setup Node and dependencies
uses: ./.github/actions/setup-env
with:
node-version: ${{ matrix.node-version }}
- name: Build React Storybook
run: yarn workspace @modulify/m3-react storybook:build --test --quiet
- name: Build Vue Storybook
run: yarn workspace @modulify/m3-vue storybook:build --test --quiet
- name: Run React Storybook a11y smoke tests
run: yarn workspace @modulify/m3-react test:storybook-a11y
- name: Run Vue Storybook a11y smoke tests
run: yarn workspace @modulify/m3-vue test:storybook-a11y