Skip to content

Merge pull request #126 from ChooseTale/fix/create-game #342

Merge pull request #126 from ChooseTale/fix/create-game

Merge pull request #126 from ChooseTale/fix/create-game #342

Workflow file for this run

name: Dependency Cache
on: push
jobs:
cache:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: '18'
- name: Cache dependencies
id: yarn-cache
uses: actions/cache@v3
with:
path: |
~/.yarn/cache
node_modules
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install dependencies
if: steps.yarn-cache.outputs.cache-hit != 'true'
run: yarn install
- name: Save Yarn cache
if: steps.yarn-cache.outputs.cache-hit != 'true'
uses: actions/cache@v3
with:
path: |
~/.yarn/cache
node_modules
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}