Skip to content

Commit 38cacd3

Browse files
AJGranowskiahnpnl
authored andcommitted
Add NPM cache
1 parent 36e3883 commit 38cacd3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/actions/setup-workspace/action.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,11 @@ runs:
2525
uses: actions/setup-node@v4
2626
if: ${{ steps.cache-npm.outputs.cache-hit != 'true' }}
2727
with:
28+
cache: npm
29+
cache-dependency-path: '**/package-lock.json'
2830
node-version: ${{ inputs.node }}
2931

3032
- name: Install and build 🔧
3133
if: ${{ steps.cache-npm.outputs.cache-hit != 'true' }}
32-
run: npm ci
34+
run: npm ci --prefer-offline --no-audit
3335
shell: bash

0 commit comments

Comments
 (0)