Skip to content

chore(deps): update dependency cypress to v14 #3856

chore(deps): update dependency cypress to v14

chore(deps): update dependency cypress to v14 #3856

Workflow file for this run

name: Build
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x, 21.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm ci
- name: Jest
run: npm exec jest
- name: Build
run: npm run --if-present build
- name: Compile examples
run: npm exec tsc -- -b docs/examples
cypress:
name: Cypress E2E Tests
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Use Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: 20.x
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Cypress tests
uses: cypress-io/github-action@v6
with:
start: npm start
build: npx cypress info
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-screenshots
path: cypress/screenshots
if-no-files-found: ignore
npm-pkg-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: ~/.cache/npm-pkg-lint
key: npm-pkg-lint
- name: Use Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: 20.x
- name: Install dependencies
run: npm ci
- name: Build
run: npm run --if-present build
- name: npm-pkg-lint
run: |
npm pack
npm exec npm-pkg-lint