Skip to content

Instantly share code, notes, and snippets.

@bsommardahl
Last active April 3, 2025 15:44
Show Gist options
  • Save bsommardahl/016969fc36d9ddd74c42d797a8659837 to your computer and use it in GitHub Desktop.
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
@sallauddin
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

@SydneyHadebe
Copy link

SydneyHadebe commented Apr 3, 2025

---
name: Validate Data
on:
  push: null
  pull_request: null
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