Skip to content

Commit

Permalink
WIP: add composite actions
Browse files Browse the repository at this point in the history
  • Loading branch information
beuluis committed Dec 17, 2024
1 parent 045692a commit 0dea893
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/actions/restore-dependency-cache/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: 'Restore Dependency Cache'

Check warning on line 1 in .github/actions/restore-dependency-cache/action.yml

View workflow job for this annotation

GitHub Actions / yamllint

1:1 [document-start] missing document start "---"
description: 'Restores cached dependencies'

runs:
using: "composite"
steps:
- name: Restore cached dependencies
uses: actions/cache/restore@v4
id: cache
with:
path: node_modules
key: dependencies-${{ runner.os }}-${{ hashFiles('**/bun.lockb') || hashFiles('**/package-lock.json') }}
restore-keys: |
dependencies-${{ runner.os }}-

0 comments on commit 0dea893

Please sign in to comment.