From 07d058ae097f8f12ddc96489d1d98e820bdb910a Mon Sep 17 00:00:00 2001 From: tate Date: Tue, 13 Aug 2024 11:17:54 +1000 Subject: [PATCH] gha --- .github/workflows/main.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 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..2e138d5 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,25 @@ +name: CI + +on: + push: + branches: [main] + pull_request: + +jobs: + test: + name: Hardhat Tests + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Use Bun 1.1.16 + uses: oven-sh/setup-bun@v1 + with: + bun-version: 1.1.16 + + - run: bun install --frozen-lockfile + + - run: cd ./contracts + + - name: Run tests + run: bun run test:hardhat