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 717c640 commit f08b7c9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,19 @@ jobs:
- name: install bun
run: curl https://bun.sh/install | bash
- name: setup bun PATH
run: echo PATH="${HOME}/.bun/bin:$PATH" >> $GITHUB_PATH
run: |
export BUN_INSTALL="/home/runner/.bun"
echo PATH="$BUN_INSTALL/bin:$PATH" >> $GITHUB_PATH
- name: install dependencies
run: bun install
- name: build package
run: bun run build
# - name: run test suites
# run: npm test

# export BUN_INSTALL="/home/runner/.bun"
# export PATH="$BUN_INSTALL/bin:$PATH"

- name: publish
run: npm publish --access=public
env:
Expand Down

0 comments on commit f08b7c9

Please sign in to comment.