-
Notifications
You must be signed in to change notification settings - Fork 232
29 lines (27 loc) · 1015 Bytes
/
check-parse-results.yml
File metadata and controls
29 lines (27 loc) · 1015 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: Check parse results
#description: Confirm check parse results and the DT repo are in sync, to avoid potential DT CI outages.
on:
workflow_call:
workflow_dispatch:
env:
CI: true
PNPM_CACHE_FOLDER: .pnpm-store
jobs:
check-parse-results:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
with:
node-version: 'lts/*'
- uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
- run: pnpm config set store-dir $PNPM_CACHE_FOLDER
- run: pnpm install
- run: pnpm build
- name: Check parse results
run: pnpm run --filter @definitelytyped/dtslint-runner check-parse-results
- if: always()
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
with:
name: ${{ github.job }}
path: packages/definitions-parser/data/