Skip to content

2.4.3

2.4.3 #757

Workflow file for this run

name: Tests
on:
pull_request:
branches:
- main
push:
branches:
- main
tags-ignore:
- '*'
workflow_call:
jobs:
cypress-run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 20
- uses: pnpm/action-setup@v2
name: Install pnpm
with:
version: 8
run_install: false
- name: Install Cypress binaries
run: npx cypress install
- name: Install dependecies
run: pnpm install
- name: Build Notivue
run: pnpm build
- name: Install Notivue
run: pnpm install
- name: Test with Vitest
run: pnpm test:unit
- name: Test with Cypress
uses: cypress-io/github-action@v5
timeout-minutes: 15
with:
env: CYPRESS_CI=true
component: true
install: false
working-directory: tests
browser: chrome