Skip to content

chore: add github actions to add automated tests #1

chore: add github actions to add automated tests

chore: add github actions to add automated tests #1

Workflow file for this run

name: Test
on:
push:
branches:
- "main"
pull_request:
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
project:
[
"angular",
"angular-standalone",
"react-next14-ts",
"react-next15-ts",
"react-vite-ts",
"react-webpack5-js",
"svelte-vite-ts",
"svelte-webpack-ts",
"vue3-vite-ts",
"vue3-webpack-ts",
]
name: Run Component Tests in Projects
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22
- name: Cypress test
uses: cypress-io/github-action@v6
with:
component: true
working-directory: "${{ matrix.project }}"