d3f35ae32d
Since actions/setup-node v2 has been declared stable since v2.1.4 (released on 2020-12-16), it should be safe to move everyone to v2.
22 lines
381 B
YAML
22 lines
381 B
YAML
name: Validate Data
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
|
|
jobs:
|
|
validate-data:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: actions/setup-node@v2
|
|
with:
|
|
node-version: "12"
|
|
|
|
- name: Validate workflows
|
|
run: |
|
|
npm ci
|
|
npx ts-node-script ./index.ts
|
|
working-directory: ./script/validate-data
|