mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
fix(npm)
This commit is contained in:
parent
e3d725b514
commit
88bd4668f5
|
@ -10,10 +10,7 @@ provides:
|
|||
- bin/npx
|
||||
|
||||
dependencies:
|
||||
# 20.3.x causes a error on linux+aarch64 (technically docker)
|
||||
# sh: 1: tldr: Text file busy
|
||||
# https://github.com/nodejs/node/issues/48444
|
||||
nodejs.org: '>=14<20.3'
|
||||
nodejs.org: '>=14'
|
||||
|
||||
build:
|
||||
dependencies:
|
||||
|
@ -37,11 +34,19 @@ build:
|
|||
${{prefix}}/bin
|
||||
|
||||
test:
|
||||
# doing first to test our shim works as expected
|
||||
- npx -qy tldr ls
|
||||
dependencies:
|
||||
# 20.3.x causes a error on linux+aarch64 (technically docker)
|
||||
# sh: 1: tldr: Text file busy
|
||||
# https://github.com/nodejs/node/issues/48444
|
||||
# This is a FIXME, but it should be reasonably harmless.
|
||||
linux/aarch64:
|
||||
nodejs.org: '<20.3'
|
||||
script:
|
||||
# doing first to test our shim works as expected
|
||||
- npx -qy tldr ls
|
||||
|
||||
- npm install --global cowsay
|
||||
- npm install --global cowsay
|
||||
|
||||
# verify install location is as we configure it
|
||||
- $HOME/.local/bin/cowsay xyz.tea.hi
|
||||
# verify install location is as we configure it
|
||||
- $HOME/.local/bin/cowsay xyz.tea.hi
|
||||
|
||||
|
|
Loading…
Reference in a new issue