From 79fd85cb1da17e30baa77e986a7061036f1ce193 Mon Sep 17 00:00:00 2001 From: Ignacio Porte Date: Mon, 5 Feb 2024 14:28:35 -0300 Subject: [PATCH] chore(github-actions): add test run --- .github/workflows/main.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..9c12ed9 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,24 @@ +name: Bun Test Workflow + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +jobs: + test: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: Set up Bun + run: | + curl -fsSL https://bun.sh/install | bash + echo "$HOME/.bun/bin" >> $GITHUB_PATH + + - name: Install dependencies + run: bun install + + - name: Run tests + run: bun run test