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 1dbe5b3 commit b9ccae0
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,16 @@ jobs:
registry-url: https://registry.npmjs.org

- name: install bun
shell: bash
run: curl https://bun.sh/install | bash
- name: setup bun PATH
shell: bash
run: |
echo "home/runner/.bun/bin/bun" >> $GITHUB_PATH
# echo PATH="$GITHUB_WORKSPACE/.bun/bin:$PATH" >> $GITHUB_PATH
echo "home/runner/.bun/bin/bun" >> $GITHUB_PATH
echo "::::::::::::::::::::::::::::::::::::::::::::::::::::::"
which bun
echo $GITHUB_WORKSPACE
ehoc ${{github.workspace}}
echo "${{github.workspace}}"
echo "::::::::::::::::::::::::::::::::::::::::::::::::::::::"
- name: install dependencies
run: bun install
Expand All @@ -37,6 +37,7 @@ jobs:
# run: npm test

# export BUN_INSTALL="/home/runner/.bun"
# echo PATH="$GITHUB_WORKSPACE/.bun/bin:$PATH" >> $GITHUB_PATH
# export PATH="$BUN_INSTALL/bin:$PATH"

- name: publish
Expand Down

0 comments on commit b9ccae0

Please sign in to comment.