Why does this fail on Windows? #584
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: Build | ||
on: [push, pull_request] | ||
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@v4 | ||
with: | ||
node-version: 18 | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- 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 | ||
# https://github.com/webpack/webpack/issues/12759 | ||
- name: Remove Webpack test | ||
run: rm features/loaders/webpack.feature | ||
- name: Test | ||
with: | ||
DEBUG: cypress:electron,cypress-configuration,cypress-cucumber-preprocessor | ||
run: npm run test:integration -- features\reporters\usage.feature:91 | ||
Check failure on line 42 in .github/workflows/build.yml GitHub Actions / BuildInvalid workflow file
|
||
- name: Versions | ||
run: | | ||
npx cypress --version | ||
node --version | ||
npm --version |