Skip to content

Commit

Permalink
updating workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
agracio committed Jan 23, 2025
1 parent 14605ff commit 0dedc1a
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/actions/setup-env/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,25 @@ runs:
node-version: ${{ inputs.node }}
cache: 'npm'
cache-dependency-path: package-lock.json

- name: Cache node-gyp Linux
if: runner.os == 'Linux'
uses: actions/cache@v4
env:
cache-name: cache-node-gyp
with:
path: ~/.cache/node-gyp
key: '${{ inputs.os }}-${{ inputs.node}}'

- name: Cache node-gyp macOs
if: runner.os == 'macOS'
uses: actions/cache@v4
env:
cache-name: cache-node-gyp
with:
path: ~/Library/Caches/node-gyp
key: '${{ inputs.os }}-${{ inputs.node}}'


- name: Cache node modules
id: cache-nodemodules
Expand Down

0 comments on commit 0dedc1a

Please sign in to comment.