Skip to content
This repository has been archived by the owner on Feb 16, 2024. It is now read-only.

Commit

Permalink
build: added an actin for handling the cache saving
Browse files Browse the repository at this point in the history
  • Loading branch information
niloofar-deriv committed Oct 6, 2023
1 parent 23f3c64 commit f6c8eba
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/actions/invalidate_master_cache/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: invalidate_npm_cache
description: Invalidate the Master NPM cache
runs:
using: composite
steps:
- name: save_cache
uses: actions/cache/save@v3
with:
path: ./node_modules
key: ${{ runner.os }}-build-master-cache-${{ hashFiles('./package-lock.json') }}

0 comments on commit f6c8eba

Please sign in to comment.