From 20eafc570a2064ffb27118649f004489bc07e071 Mon Sep 17 00:00:00 2001 From: Juan Francisco Date: Tue, 26 Aug 2025 13:48:33 +0200 Subject: [PATCH] Add PR verification workflow for Angular builds --- .github/workflows/pr-verify.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/pr-verify.yml diff --git a/.github/workflows/pr-verify.yml b/.github/workflows/pr-verify.yml new file mode 100644 index 0000000..14e2289 --- /dev/null +++ b/.github/workflows/pr-verify.yml @@ -0,0 +1,29 @@ +name: PR Verify + +on: + pull_request: + branches: [ main ] + +jobs: + angular: + name: Angular Build + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [22.x, 24.x] + + steps: + - uses: actions/checkout@v4 + name: Checkout the source code + + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v4 + with: + node-version: ${{ matrix.node-version }} + cache: 'npm' + + - name: Install dependencies + run: npm ci + + - run: npm run build --if-present