Skip to content

Update dependencies #2714

Update dependencies

Update dependencies #2714

Workflow file for this run

name: TypeScript TSC Test
on:
pull_request:
workflow_dispatch:
jobs:
tsc:
name: TypeScript Version Check
runs-on: ubuntu-latest
if: ${{ github.event_name == 'workflow_dispatch' || github.head_ref == 'changeset-release/main' }}
strategy:
fail-fast: false
matrix:
target: ['next', 'beta', 'latest', '5.3.3', '5.2.2', '5.1.6', '5.0.4', '4.9.5', '4.8.4', '4.7.4']
steps:
- name: πŸ›‘ Cancel Previous Runs
uses: styfle/[email protected]
- name: ⬇️ Checkout repo
uses: actions/checkout@v3
- name: βŽ” Install pnpm
uses: pnpm/action-setup@v4
- name: βŽ” Setup node
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
cache: 'pnpm'
- name: πŸ“₯ Install project dependencies
run: pnpm install --frozen-lockfile
- name: 🚦 Install TypeScript ${{ matrix.target }}
run: pnpm add --workspace-root typescript@${{ matrix.target }}
- name: πŸ‘·πŸ»β€β™€οΈ Compile
run: pnpm build
- name: πŸš€ Type-check code
run: pnpm tsc