mirror of
https://github.com/cypress-io/cypress.git
synced 2026-01-04 21:49:50 -06:00
20 lines
474 B
Bash
Executable File
20 lines
474 B
Bash
Executable File
#!/bin/bash
|
|
|
|
echo "This script should be run from monorepo's root"
|
|
|
|
name=cypress/internal:chrome61
|
|
echo "Pulling CI container $name"
|
|
|
|
docker pull $name
|
|
|
|
echo "Starting Docker image with monorepo volume attached"
|
|
echo "In order to build Cypress Linux binary"
|
|
echo Command npm run binary-deploy -- "$@"
|
|
|
|
docker run \
|
|
-e npm_config_loglevel='warn' \
|
|
-v $PWD:/home/person/cypress-monorepo \
|
|
-w /home/person/cypress-monorepo \
|
|
-it $name \
|
|
npm run binary-deploy -- "$@"
|