diff --git a/.github/workflows/ci-tests.yml b/.github/workflows/ci-tests.yml new file mode 100644 index 0000000..4c31749 --- /dev/null +++ b/.github/workflows/ci-tests.yml @@ -0,0 +1,28 @@ +name: CI tests + +on: + push: + branches: + - main + pull_request: + branches: [] + +jobs: + test: + name: Run tests + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Use Node.js + uses: actions/setup-node@v2 + with: + node-version: '20.x' + + - name: Install dependencies + run: npm install ; npm install -g bun ; + + - name: Run tests + run: npm test