mirror of
https://github.com/outline/outline.git
synced 2026-12-02 09:42:07 +03:00
The sticky disks for the Node.js toolcache, yarn cache and node_modules cost more than the install time they save. The install action uses the setup-node yarn cache again.
17 lines
440 B
YAML
17 lines
440 B
YAML
name: Install
|
|
description: Set up Node.js, Corepack, and install dependencies with yarn cache
|
|
runs:
|
|
using: composite
|
|
steps:
|
|
- name: Enable Corepack
|
|
shell: bash
|
|
run: corepack enable
|
|
- name: Use a supported Node.js version
|
|
uses: actions/setup-node@v5
|
|
with:
|
|
node-version-file: package.json
|
|
cache: "yarn"
|
|
- name: Install dependencies
|
|
shell: bash
|
|
run: yarn install --immutable
|