diff --git a/.github/workflows/frontend.yaml b/.github/workflows/frontend.yaml index 1dc69c580..1c868b7cc 100644 --- a/.github/workflows/frontend.yaml +++ b/.github/workflows/frontend.yaml @@ -12,7 +12,27 @@ concurrency: cancel-in-progress: true jobs: + test: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Set up Node.js + uses: actions/setup-node@v3 + with: + node-version: 20 + + - name: Install dependencies + run: yarn install + + - name: Run tests + run: | + cd frontend + yarn test + build: + needs: test runs-on: ubuntu-latest steps: - name: Checkout