Skip to content

[Drizzle] Add integration tests #1719

[Drizzle] Add integration tests

[Drizzle] Add integration tests #1719

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.1.6', '5.0.4', '4.9.5', '4.8.4', '4.7.4']
steps:
- name: πŸ›‘ Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.9.1
- name: ⬇️ Checkout repo
uses: actions/checkout@v3
- name: βŽ” Install pnpm
uses: pnpm/action-setup@v2
with:
version: 8.6.5
- 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