mirror of
https://github.com/ivabus/pantry
synced 2024-11-14 04:25:08 +03:00
parent
f04f19d0eb
commit
e77b3af696
1 changed files with 11 additions and 3 deletions
|
@ -9,6 +9,11 @@ dependencies:
|
||||||
nodejs.org: ^16 || ^18 || ^20
|
nodejs.org: ^16 || ^18 || ^20
|
||||||
|
|
||||||
build:
|
build:
|
||||||
|
# 1.2.0 adds this and expects it on the path
|
||||||
|
- run: |
|
||||||
|
npm i -g patch-package
|
||||||
|
export PATH="$HOME/.local/bin:$PATH"
|
||||||
|
if: '>=1.2.0'
|
||||||
- npm install .
|
- npm install .
|
||||||
--global
|
--global
|
||||||
--install-links
|
--install-links
|
||||||
|
@ -16,6 +21,9 @@ build:
|
||||||
|
|
||||||
test:
|
test:
|
||||||
- dotenvx --version | grep {{version}}
|
- dotenvx --version | grep {{version}}
|
||||||
|
- echo "HELLO=World" > .env
|
||||||
|
- run: test "$(dotenvx -q run -- sh $FIXTURE)" = "Hello, World!"
|
||||||
|
fixture: echo "Hello, $HELLO!"
|
||||||
|
|
||||||
provides:
|
provides:
|
||||||
- bin/dotenvx
|
- bin/dotenvx
|
||||||
|
|
Loading…
Reference in a new issue