-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid the need for
nvm
to be installed in the GitHub Action workflows
`nvm` no longer seems to be present when running Node in a GitHub Action. However, the correct Node version is already extracted in previous steps, so it's not actually needed here. Therefore, the `script/setup` call in the 'Install dependencies' step can be simplified to just a call to `npm install`.
- Loading branch information
1 parent
3666ea6
commit d30692d
Showing
3 changed files
with
7 additions
and
4 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
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 |
---|---|---|
|
@@ -17,5 +17,8 @@ fi | |
|
||
rm -rf node_modules | ||
|
||
script/bootstrap | ||
|
||
if [ "$1" = "ci" ]; then | ||
npm install | ||
else | ||
script/bootstrap | ||
fi |