-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Hack around node_modules issue by moving them to a non-mounted location
- Loading branch information
Showing
4 changed files
with
21 additions
and
9 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
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -xeuo pipefail | ||
|
||
# We're explicitly overriding the node_modules location used by Yarn because | ||
# of issues when mounting node_modules inside the docker container AND running | ||
# it under non-root user. | ||
|
||
echo "--modules-folder $HOME/my-node-modules" > .yarnrc | ||
|
||
export PATH="$PATH:$HOME/my-node-modules/.bin" | ||
export NODE_PATH="$HOME/my-node-modules" | ||
|
||
./dev/proto-generate.sh | ||
|
||
./cmd/scip/tests/reprolang/generate-tree-sitter-parser.sh |
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