Skip to content

Commit

Permalink
Merge pull request #48558 from margelo/fix/e2e-modern-way-to-consume-…
Browse files Browse the repository at this point in the history
…node

e2e: migrate to specific host, don't use nvm
  • Loading branch information
yuwenmemon authored Sep 5, 2024
2 parents cc1c7d0 + b6e0807 commit 8fc5e68
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions tests/e2e/TestSpec.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
version: 0.1

android_test_host: amazon_linux_2

phases:
install:
commands:
# Install correct version of node
- export NVM_DIR=$HOME/.nvm
- export FLASHLIGHT_BINARY_PATH=$DEVICEFARM_TEST_PACKAGE_PATH/zip/bin
- . $NVM_DIR/nvm.sh
# Note: Node v16 is the latest supported version of node for AWS Device Farm
# using v20 will not work!
- nvm install 16
- nvm use --delete-prefix 16
- devicefarm-cli use node 16
- node -v

# Reverse ports using AWS magic
- PORT=4723
Expand Down

0 comments on commit 8fc5e68

Please sign in to comment.