-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: caching and yarn issues [semver:patch] (#137)
Co-authored-by: Nick Lozon <[email protected]> Co-authored-by: Yasuharu Ozaki <[email protected]>
- Loading branch information
1 parent
ccf5f1a
commit 209e7b8
Showing
9 changed files
with
2,383 additions
and
2,205 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
# Link corresponding lock file to a temporary file used by cache commands | ||
if [ -f "package-lock.json" ]; then | ||
echo "Found package-lock.json file, assuming lockfile" | ||
ln package-lock.json /tmp/node-project-lockfile | ||
cp package-lock.json /tmp/node-project-lockfile | ||
elif [ -f "npm-shrinkwrap.json" ]; then | ||
echo "Found npm-shrinkwrap.json file, assuming lockfile" | ||
ln npm-shrinkwrap.json /tmp/node-project-lockfile | ||
cp npm-shrinkwrap.json /tmp/node-project-lockfile | ||
elif [ -f "yarn.lock" ]; then | ||
echo "Found yarn.lock file, assuming lockfile" | ||
ln yarn.lock /tmp/node-project-lockfile | ||
cp yarn.lock /tmp/node-project-lockfile | ||
fi | ||
ln package.json /tmp/node-project-package.json | ||
cp package.json /tmp/node-project-package.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters