Skip to content

test: set defaultBrowser to chrome (#1713) #2350

test: set defaultBrowser to chrome (#1713)

test: set defaultBrowser to chrome (#1713) #2350

name: example-yarn-classic
# In the example jobs, the action is called with
# uses: ./
# which runs the action code from the current branch.
# If you copy this workflow to another repo, replace the line with
# uses: cypress-io/github-action@v7
on:
push:
branches:
- 'master'
pull_request:
workflow_dispatch:
jobs:
yarn-classic:
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Test with Yarn Classic
uses: ./
with:
working-directory: examples/yarn-classic
yarn-classic-cache:
# Use setup-node to cache Yarn dependencies
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version-file: .node-version
cache: yarn
cache-dependency-path: examples/yarn-classic/yarn.lock
- name: Test with Yarn Classic
uses: ./
with:
package-manager-cache: false
working-directory: examples/yarn-classic