From 1edf5b44e13595a6c86e577bb366efa3275a86d9 Mon Sep 17 00:00:00 2001 From: Steven Roussey Date: Sat, 6 Apr 2024 22:13:35 -0700 Subject: [PATCH] Create test.yml --- .github/workflows/test.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..785fccf --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,22 @@ +# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node +# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs + +name: Node.js CI + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - uses: oven-sh/setup-bun@v1 + - run: bun i + - run: bun run build + - run: bun test