diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000000..da1aabf6e6 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,34 @@ +name: Run Tests + +on: + pull_request: + branches: + - main + push: + branches: + - main + +jobs: + test: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v5 + + - name: Set up Node.js + uses: actions/setup-node@v5 + with: + node-version: '24' + + - name: Install dependencies + run: npm install + + - name: Install client dependencies + run: | + cd client + npm install + + - name: Run Jest test + run: npm run test:frontend +