1830845916
* Switch default node version to 20 * Update version set to 18.x, 20.x, 22.x Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
26 lines
514 B
YAML
26 lines
514 B
YAML
name: Validate Data
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
|
|
jobs:
|
|
validate-data:
|
|
permissions:
|
|
contents: read
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
node-version: '20'
|
|
cache: 'npm'
|
|
cache-dependency-path: script/validate-data/package-lock.json
|
|
|
|
- name: Validate workflows
|
|
run: |
|
|
npm ci
|
|
npx ts-node-script ./index.ts
|
|
working-directory: ./script/validate-data
|