Skip to content

Commit 56781b9

Browse files
ollecoffeeOlle Korkmaz Zillén
andauthored
Bun 1.2 compatibility (#66)
* bumping setup-bun from v1 to v2 * bun 1.2 compatibility --------- Co-authored-by: Olle Korkmaz Zillén <olle.korkmazzillen@avanza.se>
1 parent e5dd289 commit 56781b9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

action.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ runs:
4545
VERSION="latest"
4646
echo "PACKAGE_MANAGER=npm" >> $GITHUB_ENV
4747
echo "LOCKFILE=package-lock.json" >> $GITHUB_ENV
48+
elif [ $(find "." -maxdepth 1 -name "bun.lock") ]; then
49+
VERSION="latest"
50+
echo "PACKAGE_MANAGER=bun" >> $GITHUB_ENV
51+
echo "LOCKFILE=bun.lock" >> $GITHUB_ENV
4852
elif [ $(find "." -maxdepth 1 -name "bun.lockb") ]; then
4953
VERSION="latest"
5054
echo "PACKAGE_MANAGER=bun" >> $GITHUB_ENV

0 commit comments

Comments
 (0)