ci: work around yarn install failure on Node.js 18.x #229
Workflow file for this run
  
    
      This file contains hidden or 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: Check with yarn | |
| on: [push, pull_request] | |
| jobs: | |
| build: | |
| name: Install and test with yarn | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: "18.16" | |
| # --ignore engines added due to Yarn Classic bug installing under Node.js 18.x | |
| # https://github.com/cypress-io/request/issues/89 | |
| - run: yarn install --ignore-engines | |
| - run: yarn test |