mirror of
https://github.com/ivabus/pantry
synced 2024-11-14 04:25:08 +03:00
79467df354
closes #6349
35 lines
770 B
YAML
35 lines
770 B
YAML
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:
|
|
npmjs.com: '*'
|
|
nodejs.org: ^10.13.0 || ^12 || ^14 || ^16 || ^18 || ^20
|
|
openjdk.org: '*'
|
|
|
|
build:
|
|
dependencies:
|
|
linux/x86-64:
|
|
python.org: ^3 # node-gyp needs python to build
|
|
script:
|
|
- chmod +x lib/appium.js
|
|
# required but not added
|
|
- run: EXTRA_PACKAGES="@appium/logger"
|
|
if: '>=2.7'
|
|
- npm install . $EXTRA_PACKAGES
|
|
--global
|
|
--prefix="{{prefix}}"
|
|
--install-links
|
|
|
|
provides:
|
|
- bin/appium
|
|
|
|
test:
|
|
- appium --version | grep {{version}}
|
|
- appium driver install uiautomator2
|