Skip to content

Bump prettier from 2.5.1 to 3.4.2 #223

Bump prettier from 2.5.1 to 3.4.2

Bump prettier from 2.5.1 to 3.4.2 #223

name: Compatible Typescript Versions
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
typescript-version: [4.2, 4.3, 4.4, 4.5, 4.6, 4.7, 4.8, 4.9, 5.0, 5.1, 5.2, 5.3, 5.4, 5.5, 5.6 ]
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Use Node.js 22.x
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
with:
node-version: 22.x
- run: npm ci
- run: npm run build
- run: npm install typescript@${{ matrix.typescript-version }}
- run: npx tsc spec/ts-compat-test.ts --noEmit --skipLibCheck