mirror of
https://github.com/Kong/insomnia
synced 2024-11-08 14:49:53 +00:00
18 lines
329 B
Bash
18 lines
329 B
Bash
#!/bin/sh
|
|
|
|
# Fail on any errors
|
|
set -e
|
|
|
|
if [[ -z "$GITHUB_WORKSPACE" ]]; then
|
|
echo "Set the GITHUB_WORKSPACE env variable."
|
|
exit 1
|
|
fi
|
|
|
|
# Install root project dependencies
|
|
cd "$GITHUB_WORKSPACE"
|
|
npm run bootstrap
|
|
npm install --no-save 7zip-bin-linux app-builder-bin-linux
|
|
|
|
echo "Running the stuff"
|
|
npm test
|
|
npm run app-release |