Skip to content

Commit ccbae06

Browse files
committed
Add metadata validation in CI
This will enable the detection of a broken command
1 parent b9064ac commit ccbae06

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/test.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,3 +61,24 @@ jobs:
6161
- run: npm ci
6262
- run: ./node_modules/.bin/cross-env NODE_ENV=ci npm run declarations:lint
6363
- run: ./node_modules/.bin/cross-env NODE_ENV=ci npm run declarations:validate:schema
64+
65+
validate_metadata:
66+
strategy:
67+
matrix:
68+
operating_system:
69+
- ubuntu-22.04
70+
- windows-latest
71+
- macos-latest
72+
fail-fast: false
73+
74+
runs-on: ${{ matrix.operating_system }}
75+
76+
steps:
77+
- run: |
78+
git config --global core.autocrlf false
79+
- uses: actions/checkout@v4
80+
- uses: actions/setup-node@v4
81+
with:
82+
node-version: 20
83+
- run: npm ci
84+
- run: ./node_modules/.bin/cross-env NODE_ENV=ci npm run metadata:validate

0 commit comments

Comments
 (0)