Skip to content

Starting with Hacktoberfest Progaram added #3

Starting with Hacktoberfest Progaram added

Starting with Hacktoberfest Progaram added #3

Workflow file for this run

name: Validate event JSON
on:
pull_request:
paths:
- 'data/**'
- 'scripts/**'
push:
branches: [ main ]
paths:
- 'data/**'
- 'scripts/**'
jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '18'
- name: Install dependencies (none required)
run: |
echo "No dependencies to install"
- name: Run validator
run: node scripts/validate.js data/events.json