File tree Expand file tree Collapse file tree 1 file changed +58
-0
lines changed Expand file tree Collapse file tree 1 file changed +58
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Testing (tsd)
2+
3+ on :
4+ pull_request :
5+ branches :
6+ - ' **'
7+ paths-ignore :
8+ - ' docs/**'
9+ - ' website/**'
10+ - ' .spellcheck.dict.txt'
11+ - ' **/*.md'
12+ push :
13+ branches :
14+ - main
15+ paths-ignore :
16+ - ' docs/**'
17+ - ' website/**'
18+ - ' .spellcheck.dict.txt'
19+ - ' **/*.md'
20+
21+ concurrency :
22+ group : ${{ github.workflow }}-${{ github.ref }}
23+ cancel-in-progress : true
24+
25+ jobs :
26+ tsd :
27+ name : tsd
28+ timeout-minutes : 30
29+ runs-on : ubuntu-latest
30+ steps :
31+ - uses : actions/checkout@v4
32+ with :
33+ fetch-depth : 50
34+ - uses : actions/setup-node@v4
35+ with :
36+ node-version : 22
37+ - uses : actions/cache/restore@v4
38+ name : Yarn Cache Restore
39+ id : yarn-cache
40+ with :
41+ path : .yarn/cache
42+ key : ${{ runner.os }}-yarn-v1-${{ hashFiles('yarn.lock') }}
43+ restore-keys : ${{ runner.os }}-yarn-v1
44+ - name : Yarn Install
45+ uses : nick-fields/retry@v3
46+ with :
47+ timeout_minutes : 15
48+ retry_wait_seconds : 60
49+ max_attempts : 3
50+ command : yarn
51+ - name : tsd
52+ run : yarn tests:tsd
53+ - uses : actions/cache/save@v4
54+ name : Yarn Cache Save
55+ if : " ${{ github.ref == 'refs/heads/main' }}"
56+ with :
57+ path : .yarn/cache
58+ key : ${{ runner.os }}-yarn-v1-${{ hashFiles('yarn.lock') }}
You can’t perform that action at this time.
0 commit comments