-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add new CI check to ensure we can install under JS
- Loading branch information
1 parent
436a677
commit 9eee8cf
Showing
4 changed files
with
74 additions
and
0 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 @@ | ||
#! /bin/bash | ||
set -euo pipefail | ||
|
||
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) | ||
|
||
mkdir /test | ||
cd /test | ||
echo "Created test directory" | ||
npm init -y | ||
echo "Initialised new npm package" | ||
npm install --install-links=true "$SCRIPT_DIR/../../installers/npm" | ||
echo "Installed rover as local npm package" | ||
cd node_modules/.bin/ | ||
echo "Checking version" | ||
./rover --version | ||
echo "Checked version, all ok!" |
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,14 @@ | ||
#! /bin/bash | ||
set -euo pipefail | ||
|
||
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) | ||
|
||
mkdir /test | ||
cd /test | ||
echo "Created test directory" | ||
npm install --install-links=true -g "$SCRIPT_DIR/../../installers/npm" | ||
echo "Installed rover as global npm package" | ||
cd /usr/local/bin/ | ||
echo "Checking version" | ||
./rover --version | ||
echo "Checked version, all ok!" |
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,18 @@ | ||
#! /bin/bash | ||
set -euo pipefail | ||
|
||
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) | ||
|
||
|
||
mkdir /test | ||
cd /test | ||
echo "Created test directory" | ||
npm install -g pnpm@v9.3.0 | ||
echo "Installed pnpm" | ||
pnpm init | ||
pnpm add "file:$SCRIPT_DIR/../../installers/npm" | ||
echo "Installed rover as pnpm package" | ||
cd node_modules/.bin/ | ||
echo "Checking version" | ||
./rover --version | ||
echo "Checked version, all ok!" |