From c82a63e0e4a2a5b45412b824d0be4c5c233519f8 Mon Sep 17 00:00:00 2001 From: Niek van der Maas Date: Thu, 17 Oct 2024 17:10:29 +0200 Subject: [PATCH] Run lint & build on all PRs --- .github/workflows/lint.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index e10def36..492bbfa9 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -3,7 +3,7 @@ name: Linting # Run on PRs only on: pull_request: - types: [opened, reopened] + branches: [main] jobs: lint: @@ -18,4 +18,7 @@ jobs: node-version: '20' - name: Lint - run: npm ci && npx eslint . \ No newline at end of file + run: npm ci && npx eslint . + + - name: Build + run: npm run build \ No newline at end of file