Skip to content

Commit

Permalink
Tweak cloud codechecks workflow to fail when changes required
Browse files Browse the repository at this point in the history
  • Loading branch information
chriswilty committed Feb 12, 2024
1 parent 023fe2a commit fcc6ae2
Show file tree
Hide file tree
Showing 3 changed files with 251 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/cloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,4 @@ jobs:
npm ci
- name: Run Checks
run: |
npm run lint
npm run format
npm run codecheck
245 changes: 245 additions & 0 deletions cloud/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion cloud/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,18 @@
"cdk:synth": "cdk synth -q \"*\"",
"cdk:deploy": "cdk deploy --all",
"cdk:destroy": "cdk destroy --all",
"codecheck": "concurrently \"npm run lint:check\" \"npm run format:check\"",
"format": "prettier . --write",
"lint": "eslint . --ext .ts --fix"
"format:check": "prettier . --check",
"lint": "eslint . --ext .ts --fix",
"lint:check": "eslint . --ext .ts"
},
"devDependencies": {
"@types/node": "^20.8.9",
"@types/source-map-support": "^0.5.9",
"@typescript-eslint/eslint-plugin": "^6.9.0",
"@typescript-eslint/parser": "^6.9.0",
"concurrently": "^8.2.2",
"eslint": "^8.52.0",
"aws-cdk": "^2.104.0",
"prettier": "^3.0.3",
Expand Down

0 comments on commit fcc6ae2

Please sign in to comment.