Skip to content

Instantly share code, notes, and snippets.

@bsommardahl
Last active December 8, 2025 20:18
Show Gist options
  • Select an option

  • Save bsommardahl/016969fc36d9ddd74c42d797a8659837 to your computer and use it in GitHub Desktop.

Select an option

Save bsommardahl/016969fc36d9ddd74c42d797a8659837 to your computer and use it in GitHub Desktop.
A bad YAML file... please help me fix it!
name:Validate Data
on:
push: pull_request:
jobs:
validate-data:
runs-on:ubuntu-latest
steps:
- uses:actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: "12"
- name: Validate workflows run: |
npm ci
npx ts-node-script ./index.ts
working-directory: ./script/validate-data
@AgentWolf
Copy link

name: Validate Data

on:
  push: pull_request

jobs:
  validate-data:
    runs-on: ubuntu-latest
      steps:
      - uses:actions/checkout@v2
      - uses: actions/setup-node@v2
        with:
          node-version: "12"

      - name: Validate workflows
          run: |
          npm ci
          npx ts-node-script ./index.ts
        working-directory: ./script/validate-data

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment