Skip to content

Commit

Permalink
Fixing javascript execution syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
chriscarrollsmith committed Oct 1, 2023
1 parent a64ae5a commit c5e6851
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ jobs:

- name: Validate JSON
run: |
node -e "
const fs = require('fs');
const data = fs.readFileSync('./feed.json', 'utf8');
const obj = JSON.parse(data);
Expand All @@ -68,4 +69,6 @@ jobs:
!obj.entries[0]['content:encoded']) {
console.error('Invalid object');
process.exit(1);
}
}
"

0 comments on commit c5e6851

Please sign in to comment.