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
|
|
|
|
- npm install .
|
|
|
|
--global
|
|
|
|
--prefix="{{prefix}}"
|
|
|
|
--install-links
|
|
|
|
|
|
|
|
provides:
|
|
|
|
- bin/appium
|
|
|
|
|
2023-12-12 21:39:28 +03:00
|
|
|
test:
|
|
|
|
- appium --version | grep {{version}}
|
|
|
|
- appium driver install uiautomator2
|