From 1ef0fbb5aced1ab9b14ae2305b6b30dd5a848226 Mon Sep 17 00:00:00 2001 From: Chukwuemeka Ajima Date: Sat, 16 Jul 2022 04:33:09 +0200 Subject: [PATCH] fix(github-actions): fix github actions to run bun commands --- .github/workflows/publish.yml | 23 ++++++++--------------- 1 file changed, 8 insertions(+), 15 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 1c1d0bd..96158e0 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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