drone.yml: Add Bun to PATH
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Eric NGUYEN 2022-08-03 16:05:24 +02:00
parent 05e9013c3b
commit b07acdb83d

View file

@ -7,6 +7,8 @@ steps:
image: node:16 image: node:16
commands: commands:
- curl https://bun.sh/install | bash - curl https://bun.sh/install | bash
- export BUN_INSTALL="$HOME/.bun"
- export PATH="$BUN_INSTALL/bin:$PATH"
- bun run ../test-server.js - bun run ../test-server.js
- npm install - npm install
- npm test - npm test
@ -20,6 +22,8 @@ steps:
image: node image: node
commands: commands:
- curl https://bun.sh/install | bash - curl https://bun.sh/install | bash
- export BUN_INSTALL="$HOME/.bun"
- export PATH="$BUN_INSTALL/bin:$PATH"
- bun run ../test-server.js - bun run ../test-server.js
- npm install - npm install
- npm test - npm test