2023-12-11 20:02:43 +03:00
|
|
|
distributable:
|
|
|
|
url: https://registry.npmjs.org/appium/-/appium-{{version}}.tgz
|
|
|
|
strip-components: 1
|
|
|
|
|
|
|
|
versions:
|
|
|
|
url: https://npmjs.com/package/appium?activeTab=versions
|
|
|
|
match: /v\/\d+\.\d+\.\d+/
|
|
|
|
strip:
|
|
|
|
- /^v\//
|
|
|
|
|
|
|
|
dependencies:
|
2023-12-11 21:10:22 +03:00
|
|
|
npmjs.com: '*'
|
2023-12-11 20:02:43 +03:00
|
|
|
nodejs.org: ^10.13.0 || ^12 || ^14 || ^16 || ^18 || ^20
|
2023-12-12 21:39:28 +03:00
|
|
|
openjdk.org: '*'
|
2023-12-11 20:02:43 +03:00
|
|
|
|
|
|
|
build:
|
|
|
|
dependencies:
|
|
|
|
linux/x86-64:
|
|
|
|
python.org: ^3 # node-gyp needs python to build
|
|
|
|
script:
|
|
|
|
- chmod +x lib/appium.js
|
2024-06-06 21:20:26 +03:00
|
|
|
# required but not added
|
|
|
|
- run: EXTRA_PACKAGES="@appium/logger"
|
|
|
|
if: '>=2.7'
|
|
|
|
- npm install . $EXTRA_PACKAGES
|
2023-12-11 20:02:43 +03:00
|
|
|
--global
|
|
|
|
--prefix="{{prefix}}"
|
|
|
|
--install-links
|
|
|
|
|
|
|
|
provides:
|
|
|
|
- bin/appium
|
|
|
|
|
2024-06-06 21:20:26 +03:00
|
|
|
test:
|
2023-12-12 21:39:28 +03:00
|
|
|
- appium --version | grep {{version}}
|
|
|
|
- appium driver install uiautomator2
|