2022-06-29 15:16:10 +00:00
|
|
|
name: Setup
|
|
|
|
|
|
|
|
runs:
|
|
|
|
using: composite
|
|
|
|
steps:
|
|
|
|
- name: Install node
|
|
|
|
uses: actions/setup-node@v1
|
|
|
|
with:
|
|
|
|
node-version: 16
|
|
|
|
- name: Cache
|
|
|
|
uses: actions/cache@v2
|
|
|
|
id: cache
|
|
|
|
with:
|
|
|
|
path: '**/node_modules'
|
2022-06-29 16:28:47 +00:00
|
|
|
key: yarn-v1-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
|
2022-06-29 15:16:10 +00:00
|
|
|
- name: Install
|
|
|
|
run: yarn --immutable
|
|
|
|
shell: bash
|
|
|
|
if: steps.cache.outputs.cache-hit != 'true'
|