mirror of
https://github.com/selfxyz/self.git
synced 2026-01-09 22:58:20 -05:00
Remove custom cache
This commit is contained in:
19
.github/actions/yarn-install/action.yml
vendored
19
.github/actions/yarn-install/action.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user