From 0c09c1bd99ce29fc57e7a26240a12a44940dbf22 Mon Sep 17 00:00:00 2001 From: Alie Date: Sat, 6 Jan 2024 19:29:24 +0100 Subject: [PATCH] bun via npm --- .gitea/workflows/test.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml index a428eb4..a809a2c 100644 --- a/.gitea/workflows/test.yaml +++ b/.gitea/workflows/test.yaml @@ -13,12 +13,12 @@ jobs: - name: Starting docker daemon run: docker-init -- dockerd --host=unix:///var/run/docker.sock & - name: Installing necessary packages - run: apk add nodejs git curl bash patchelf + run: apk add npm git curl bash - name: Check out repository code uses: actions/checkout@v3 - name: Install bun.sh - run: test -f /root/.bun/bin/bun || { curl https://raw.githubusercontent.com/LowByteFox/bun-musl/main/bun-musl -o bun-musl; bash bun-musl install; } + run: npm install -g bun - name: Install project dependencies - run: /root/.bun/bin/bun i + run: bun i - name: Run docker-compose run: docker compose down -v && docker compose run bot-api bun test