From 2a4f0a2ea00b315cbb2cdbbfd7bfd14739777540 Mon Sep 17 00:00:00 2001 From: Callin Mullaney <57088-callinmullaney@users.noreply.drupalcode.org> Date: Fri, 12 Jun 2026 15:44:36 -0500 Subject: [PATCH] ci: add pull request validation workflow --- .github/workflows/ci.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..e8043b7 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,34 @@ +name: CI + +on: + pull_request: + push: + branches: [develop, main] + +permissions: + contents: read + +jobs: + validate: + name: Validate + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: Install Node.js + uses: actions/setup-node@v4 + with: + node-version: '24.x' + cache: npm + - name: Install + run: npm ci + - name: Build + run: npm run build + - name: Typecheck + run: npm run type + - name: Test + run: npm test + - name: Pack + run: npm pack --dry-run