Skip to content

Run unit tests on Windows #876

Run unit tests on Windows

Run unit tests on Windows #876

Workflow file for this run

name: Build
on: [push]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
windows:
runs-on: windows-latest
env:
NPM_CONFIG_CACHE: ${{ github.workspace }}/.npm
CYPRESS_CACHE_FOLDER: ${{ github.workspace }}/.cypress
steps:
- uses: actions/setup-node@v6
with:
node-version: 20
- name: Checkout
uses: actions/checkout@v5
- name: Cache NPM modules
uses: actions/cache@v4
with:
path: .npm
key: npm-windows
- name: Cache Cypress binaries
uses: actions/cache@v4
with:
path: .cypress
key: cypress-windows
- name: Dependencies
shell: bash
run: npm install --engine-strict
- name: Build
run: npm run build
- name: Test (unit)
run: npm run test:unit
- name: Test (integration)
run: npm run test:integration
- name: Versions
run: |
npx cypress --version
node --version
npm --version