Skip to content

[MAJC-107] Adding build validation workflow #5

[MAJC-107] Adding build validation workflow

[MAJC-107] Adding build validation workflow #5

Workflow file for this run

name: validate_build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
validate_build:
name: validate_build
runs-on:
- ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js 20.18.0
uses: actions/setup-node@v4
with:
node-version: '20.18.0'
cache: npm
- name: Install dependencies
run: npm ci
- name: Build and verify MAJC dist files
run: npm run build
- name: Install React Example dependencies
run: npm ci
working-directory: ./examples/react
- name: Build and verify Example React App
run: npm run build
working-directory: ./examples/react