mirror of
https://github.com/selfxyz/self.git
synced 2026-01-08 06:14:07 -05:00
* use yarn 4.12.0 * upgrade tsx * update 4.6.0 references to 4.12.0 * update lock file * update lock file * update lock
38 lines
844 B
YAML
38 lines
844 B
YAML
name: Yarn Install
|
|
|
|
description: Install Yarn v4 and run yarn install.
|
|
|
|
inputs:
|
|
working_directory:
|
|
description: The directory to install dependencies in.
|
|
required: false
|
|
default: "."
|
|
|
|
runs:
|
|
using: "composite"
|
|
steps:
|
|
- name: Install Yarn v4
|
|
shell: bash
|
|
run: |
|
|
corepack enable
|
|
corepack prepare yarn@4.12.0 --activate
|
|
# Ensure we're using the correct version
|
|
yarn --version
|
|
|
|
- name: Setup Node.js
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version-file: .nvmrc
|
|
cache: "yarn"
|
|
cache-dependency-path: |
|
|
yarn.lock
|
|
.yarnrc.yml
|
|
|
|
- name: Install dependencies
|
|
uses: nick-fields/retry@v3
|
|
with:
|
|
timeout_minutes: 10
|
|
max_attempts: 3
|
|
retry_wait_seconds: 5
|
|
command: yarn install --immutable
|