2.4.3 #760
Workflow file for this run
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: | |
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 |