Remove custom cache

This commit is contained in:
thomas-senechal
2025-01-05 22:56:33 +01:00
parent ef5b533ea6
commit f9f4f2d059

View File

@@ -11,24 +11,19 @@ inputs:
runs:
using: "composite"
steps:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install Yarn v4
shell: bash
run: |
corepack enable
corepack prepare yarn@4.5.0 --activate
- name: Cache Yarn dependencies
uses: actions/cache@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
path: |
${{ inputs.working_directory }}/node_modules
~/.cache/yarn
key: ${{ runner.os }}-yarn-${{ hashFiles('${{ inputs.working_directory }}/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
node-version: 20
cache: 'yarn'
cache-dependency-path: ${{ inputs.working_directory }}/yarn.lock
- name: Install dependencies
shell: bash
run: yarn install --immutable