Skip to content

Commit

Permalink
Bun 1.2 compatibility (#66)
Browse files Browse the repository at this point in the history
* bumping setup-bun from v1 to v2

* bun 1.2 compatibility

---------

Co-authored-by: Olle Korkmaz Zillén <[email protected]>
  • Loading branch information
ollecoffee and Olle Korkmaz Zillén authored Jan 23, 2025
1 parent e5dd289 commit 56781b9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ runs:
VERSION="latest"
echo "PACKAGE_MANAGER=npm" >> $GITHUB_ENV
echo "LOCKFILE=package-lock.json" >> $GITHUB_ENV
elif [ $(find "." -maxdepth 1 -name "bun.lock") ]; then
VERSION="latest"
echo "PACKAGE_MANAGER=bun" >> $GITHUB_ENV
echo "LOCKFILE=bun.lock" >> $GITHUB_ENV
elif [ $(find "." -maxdepth 1 -name "bun.lockb") ]; then
VERSION="latest"
echo "PACKAGE_MANAGER=bun" >> $GITHUB_ENV
Expand Down

0 comments on commit 56781b9

Please sign in to comment.