From d93bc0fe285e94140ca764d5f1f58c0b2109ae45 Mon Sep 17 00:00:00 2001 From: Jordan schroder Date: Mon, 2 Mar 2026 21:25:15 +1300 Subject: [PATCH] Added PR checks --- .github/workflows/pr-checks.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/pr-checks.yml diff --git a/.github/workflows/pr-checks.yml b/.github/workflows/pr-checks.yml new file mode 100644 index 0000000..f32c6b4 --- /dev/null +++ b/.github/workflows/pr-checks.yml @@ -0,0 +1,27 @@ +name: PR Checks +on: + pull_request: + branches: + - main + +jobs: + build-and-lint: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: 20 + cache: "npm" + + - name: Install dependencies + run: npm ci + + - name: Lint + run: npm run lint + + - name: Build for all browsers + run: npm run build