You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: 'This workflow triggers a Node.js build on a Pull Request to main to check the workflow: it reads the Node version from Build/.nvmrc, checks out the code, installs dependencies via npm ci, and runs the production Webpack build.'
on:
pull_request:
branches: [ "main" ]
jobs:
build-check:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v6
- name: Set up Node.js from .nvmrc
uses: actions/setup-node@v6
with:
node-version-file: 'Build/.nvmrc'
- name: Install Dependencies from package-lock.json
working-directory: Build
run: npm ci
- name: Run Webpack Build for Production (Check Only)