Skip to content

Ensure the website can be built. #28

Ensure the website can be built.

Ensure the website can be built. #28

name: Validate Web Build
run-name: Ensure the website can be built.
on:
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- name: Check out Repository
uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Installing the project dependencies
run: npm ci
- name: Building the project
run: npm run build
- name: Verify the logic
run: npm run test