Files
actual/.github/actions/setup/action.yml
2024-02-02 20:38:57 +00:00

20 lines
469 B
YAML

name: Setup
runs:
using: composite
steps:
- name: Install node
uses: actions/setup-node@v4
with:
node-version: 18.16.0
- name: Cache
uses: actions/cache@v4
id: cache
with:
path: '**/node_modules'
key: yarn-v1-${{ runner.os }}-${{ hashFiles('.nvmrc') }}-${{ hashFiles('**/yarn.lock') }}
- name: Install
run: yarn --immutable
shell: bash
if: steps.cache.outputs.cache-hit != 'true'