mirror of
https://github.com/black7375/Firefox-UI-Fix.git
synced 2026-01-30 04:10:32 -08:00
25 lines
654 B
YAML
25 lines
654 B
YAML
name: "Setup"
|
|
|
|
runs:
|
|
using: "composite"
|
|
steps:
|
|
# https://github.com/actions/cache/blob/main/examples.md#node---yarn
|
|
- name: Get yarn cache directory path
|
|
id: yarn-cache-dir-path
|
|
run: echo "::set-output name=dir::$(yarn cache dir)"
|
|
shell: bash
|
|
|
|
- name: Node cache
|
|
id: node-cache
|
|
uses: actions/cache@v3
|
|
with:
|
|
path: |
|
|
${{ steps.yarn-cache-dir-path.outputs.dir }}
|
|
"**/node_modules"
|
|
key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }}
|
|
restore-keys: |
|
|
${{ runner.os }}-node-
|
|
|
|
- name: Package Install
|
|
run: yarn install
|
|
shell: bash
|