Skip to content

Create check_build.yml #1

Create check_build.yml

Create check_build.yml #1

Workflow file for this run

name: Check Build
on:
pull_request:
branches:
- master
jobs:
check-build:
runs-on: ubuntu-latest
steps:
# Step 1: Checkout the code
- name: Checkout Code
uses: actions/checkout@v4
# Step 2: Set up Node.js
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '20.x'
# Step 3: Install dependencies
- name: Install Dependencies
run: npm install
# Step 4: Run the build
- name: Run Build
run: npm run build