31 lines
649 B
YAML
31 lines
649 B
YAML
name: Build Validation
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
types: [opened, synchronize, reopened]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout Repository
|
|
uses: actions/checkout@v4
|
|
|
|
- name: use NodeJS v24.14.0
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: '24.14.0'
|
|
|
|
- name: Install Dependencies
|
|
run: npm ci
|
|
|
|
- name: Run Checks
|
|
run: npm run check
|
|
|
|
- name: Run Build
|
|
run: npm run build
|