Skip to content

Articlegrid

Articlegrid #4

Workflow file for this run

# .github/workflows/build-check.yml
name: Build Check
# Trigger the workflow on pull request events
on:
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
# Step 1: Check out the code from the repository
- name: Check out code
uses: actions/checkout@v3
# Step 2: Set up Node.js
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '20.5.0'
# Step 3: Install dependencies
- name: Install dependencies
run: npm install
# Step 4: Run the build command
- name: Run build
run: npm run build