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 e4d87db commit ca1bc9d
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,23 +22,15 @@ jobs:
run: curl https://bun.sh/install | bash
- name: setup bun PATH
shell: bash
run: |
echo PATH=/home/runner/.bun/bin/bun >> $GITHUB_PATH
echo $GITHUB_PATH
run: echo PATH=/home/runner/.bun/bin/bun >> $GITHUB_PATH

# bun --help
/home/runner/.bun/bin/bun --help
- name: install dependencies
run: /home/runner/.bun/bin/bun install
run: /home/runner/.bun/bin/bun install
- name: build package
run: /home/runner/.bun/bin/bun run build
# - name: run test suites
# 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
run: npm publish --access=public
env:
Expand Down

0 comments on commit ca1bc9d

Please sign in to comment.