Cache Yarn cache
This commit is contained in:
parent
101139fabf
commit
23f142fdc6
@ -23,7 +23,7 @@ restore() {
|
|||||||
# the cache-upload directory will be uploaded as-is to the code-server bucket.
|
# the cache-upload directory will be uploaded as-is to the code-server bucket.
|
||||||
package() {
|
package() {
|
||||||
mkdir -p "cache-upload/cache/$1"
|
mkdir -p "cache-upload/cache/$1"
|
||||||
tar czfv "cache-upload/cache/$1/$tar.tar.gz" node_modules source
|
tar czfv "cache-upload/cache/$1/$tar.tar.gz" node_modules source /usr/local/share/.cache/yarn
|
||||||
}
|
}
|
||||||
|
|
||||||
main() {
|
main() {
|
||||||
|
Loading…
Reference in New Issue
Block a user