Skip to content

online order problem statement #5

online order problem statement

online order problem statement #5

Workflow file for this run

name: JS Syntax Check
on:
pull_request:
branches:
- master
push:
branches:
- master
jobs:
syntax-check:
runs-on: ubuntu-latest
steps:
# Checkout the repository code
- name: Checkout code
uses: actions/checkout@v3
# Check for syntax errors in JavaScript files
- name: Run JS Syntax Check
run: |
for file in $(find . -name "*.js"); do
echo "Checking $file for syntax errors..."
node --check "$file" || echo "Skipping $file due to syntax error or missing modules"
done