Skip to content

Commit 721293b

Browse files
committed
Extend CI's deploy-config lint step to also validate vercel.json, now that Vercel is a documented first-class deploy target alongside Render
1 parent 054da7e commit 721293b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,11 @@ jobs:
2929
restore-keys: |
3030
${{ runner.os }}-npm-
3131
32-
- name: Lint render.yaml
32+
- name: Lint deploy config files
3333
run: |
3434
set -e
3535
npx --yes yaml-lint render.yaml
36+
node -e "JSON.parse(require('fs').readFileSync('vercel.json', 'utf8')); console.log('vercel.json is valid JSON.')"
3637
3738
- name: Install dependencies
3839
run: |

0 commit comments

Comments
 (0)