File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717 - 20.x # LTS
1818 - 22.x # LTS
1919 - 24.x # LTS
20+ typescript-version : &typescript-versions
21+ - " 5.5"
22+ - " 5.7"
23+ - " ~5.9"
2024 steps :
2125 - uses : actions/checkout@v3
2226 - uses : pnpm/action-setup@v2
2933 cache : " pnpm"
3034 - name : Install dependencies
3135 run : pnpm install
36+ - name : Install TypeScript ${{ matrix.typescript-version }}
37+ run : pnpm add -D typescript@${{ matrix.typescript-version }}
3238 - name : Build
3339 run : pnpm run build
3440 - name : Install dependencies
5662 strategy :
5763 matrix :
5864 node-version : *node-versions
65+ typescript-version : *typescript-versions
5966 steps :
6067 - uses : actions/checkout@v3
6168 - uses : pnpm/action-setup@v2
6875 cache : " pnpm"
6976 - name : Install dependencies
7077 run : pnpm install
78+ - name : Install TypeScript ${{ matrix.typescript-version }}
79+ run : pnpm add -D typescript@${{ matrix.typescript-version }}
7180 - name : Build # Integration tests depend upon having .js versions created by tsc
7281 run : pnpm run build
7382 - name : Unit Tests
You can’t perform that action at this time.
0 commit comments