Skip to content

Commit

Permalink
validate yaml (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
Zemnmez authored Aug 13, 2021
1 parent 8726522 commit 1caba47
Show file tree
Hide file tree
Showing 4 changed files with 4,465 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/yarn_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
types: [released]
jobs:
build:
environment: publish
environment: publish
runs-on: ubuntu-latest
env:
cache-name: cache1
Expand Down
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
"jest": "^25.2.7",
"sharp": "^0.25.2",
"ts-jest": "^25.3.1",
"typescript": "^3.8.3"
"typescript": "^3.8.3",
"yaml-validator": "^3.0.1"
},
"dependencies": {
"cross-spawn": "^7.0.2"
Expand All @@ -24,7 +25,8 @@
"build": "tsc",
"prepack": "yarn concurrently 'yarn coverage' 'yarn build'",
"coverage": "yarn test --coverageThreshold 100",
"test": "jest"
"test": "yarn concurrently 'yarn jest' 'yarn validate-actions'",
"validate-actions": "yarn yaml-validator .github/workflows/*.yml"
},
"keywords": [
"node",
Expand Down
Loading

0 comments on commit 1caba47

Please sign in to comment.