From b07acdb83dedc479f97c9e43f947c8b6016f07f2 Mon Sep 17 00:00:00 2001 From: Eric NGUYEN Date: Wed, 3 Aug 2022 16:05:24 +0200 Subject: [PATCH] drone.yml: Add Bun to PATH --- .drone.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.drone.yml b/.drone.yml index 9932066..30a5b79 100644 --- a/.drone.yml +++ b/.drone.yml @@ -7,6 +7,8 @@ steps: image: node:16 commands: - curl https://bun.sh/install | bash + - export BUN_INSTALL="$HOME/.bun" + - export PATH="$BUN_INSTALL/bin:$PATH" - bun run ../test-server.js - npm install - npm test @@ -20,6 +22,8 @@ steps: image: node commands: - curl https://bun.sh/install | bash + - export BUN_INSTALL="$HOME/.bun" + - export PATH="$BUN_INSTALL/bin:$PATH" - bun run ../test-server.js - npm install - npm test \ No newline at end of file