this is my config in github actions
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: 20
cache: yarn
cache-dependency-path: "yarn.lock"
- run: yarn install --immutable
but I keep getting yarn cache is not found
. any idea what’s going on?
since the cache is unavailable the job automatically uses the yarn classic instead of picking the right one from yarn lock which is yarn 4
New contributor
DJ123 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.