From d94eeda4c154face97fc2786144227ca3f47b1e0 Mon Sep 17 00:00:00 2001 From: Aurimas Butkus Date: Fri, 13 Nov 2026 09:05:09 +0200 Subject: [PATCH] chore: lint and build pull requests --- .github/workflows/pull-request.yaml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/pull-request.yaml diff --git a/.github/workflows/pull-request.yaml b/.github/workflows/pull-request.yaml new file mode 100644 index 0000000..0d8495c --- /dev/null +++ b/.github/workflows/pull-request.yaml @@ -0,0 +1,27 @@ +name: pull-request + +on: + pull_request: + +permissions: + contents: read + +jobs: + lint-build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - uses: actions/setup-node@v4 + with: + node-version: '24.x' + + - name: Install dependencies + run: npm ci + + - name: Lint + run: npm run lint + + - name: Build + run: npm run build