Skip to content

Commit

Permalink
ci: fixed caching
Browse files Browse the repository at this point in the history
  • Loading branch information
kirrg001 committed Apr 11, 2024
1 parent 3598c95 commit 12cceaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .tekton/tasks/save-cache.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ spec:
apt-get install zstd -y
# Remove any cached npm files before zipping
find node_modules \( -name '.*' ! \( -path "node_modules/.bin" -o -path "node_modules/.package-lock.json" -o -path "node_modules/.cache*" \) \) -exec rm -rf {} +
find node_modules -type f -name '.*' ! \( -path "node_modules/.bin" -o -path "node_modules/.package-lock.json" \) -exec rm -f {} +
find node_modules -type d -name '.*' ! \( -path "node_modules/.bin" -o -path "node_modules/.package-lock.json" \) -exec rm -rf {} +
tar -cf - node_modules | zstd -o node-modules.tar.zst
Expand Down

0 comments on commit 12cceaf

Please sign in to comment.