b67bd4c377
* Sample percy test added * Node engine up to 14.x for UI prep * Force ui test rerun * Updated config.yml * Node v upgraded to 14 for docker image * Expect length in test * Running ember tests under percy exec * Percy exec format * Percy cli added * Noop to rerun tests with updated percy_token * Evals full list and details open snapshots * Pretty legit use of assert so disable the warning * Jobs list tests * Snapshots for top-level clients, servers, ACL, topology, and storage lists * Expect caveat for Topology test * Stabilizing tests with faker seeded to 1 * Seed-stabilizing any tests with percySnapshots * Faker import * Drop unused param * Assets and test audit using an older node version * New strategy: avoid seeding, just use percyCSS to hide certain things
19 lines
669 B
Bash
Executable file
19 lines
669 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
# Install NVM for simple node.js version management
|
|
curl -sSL --fail -o- https://raw.githubusercontent.com/creationix/nvm/v0.36.0/install.sh | bash
|
|
|
|
# This enables NVM without a logout/login
|
|
export NVM_DIR="${HOME}/.nvm"
|
|
# shellcheck source=/dev/null
|
|
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm
|
|
|
|
# Install Node, Ember CLI, and Phantom for UI development
|
|
# Use exact full version version (e.g. not 12) for reproducibility purposes
|
|
nvm install 14.19.2
|
|
nvm alias default 14.19.2
|
|
npm install -g ember-cli
|
|
|
|
# Install Yarn for front-end dependency management
|
|
curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.22.5
|