Skip to content
This repository has been archived by the owner on Jul 16, 2022. It is now read-only.

Commit

Permalink
fix(github-actions): fix github actions to run bun commands
Browse files Browse the repository at this point in the history
  • Loading branch information
ajimae committed Jul 16, 2022
1 parent 66bf47e commit 1ef0fbb
Showing 1 changed file with 8 additions and 15 deletions.
23 changes: 8 additions & 15 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,14 @@ jobs:
registry-url: https://registry.npmjs.org

- name: install bun
uses: supplypike/setup-bin@v1
with:
uri: "https://bun.sh/install"
name: "bun"
version: "v0.1.4"
command: sudo ./bun/install

# run: curl https://bun.sh/install | bash
# - name: setup bun PATH
# run: |
# export BUN_INSTALL="/home/runner/.bun"
# echo PATH="$GITHUB_WORKSPACE/.bun/bin:$PATH" >> $GITHUB_PATH
# echo "::::::::::::::::::::::::::::::::::::::::::::::::::::::
# which bun
# echo "::::::::::::::::::::::::::::::::::::::::::::::::::::::
run: curl https://bun.sh/install | bash
- name: setup bun PATH
run: |
export BUN_INSTALL="/home/runner/.bun"
echo PATH="$GITHUB_WORKSPACE/.bun/bin:$PATH" >> $GITHUB_PATH
echo "::::::::::::::::::::::::::::::::::::::::::::::::::::::
bun
echo "::::::::::::::::::::::::::::::::::::::::::::::::::::::
- name: install dependencies
run: bun install
- name: build package
Expand Down

0 comments on commit 1ef0fbb

Please sign in to comment.