diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c1a7887..1dbf6d6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,13 +11,20 @@ jobs: strategy: fail-fast: false matrix: - node-version: [14.x, 15.x, 16.x, 18.x, 19.x, 20.x] + node-version: [18.x, 20.x] + ts-version: ['3.9', '4.1', '5.0'] steps: - uses: actions/checkout@v2 - - name: Use Node.js ${{ matrix.node-version }} + - name: Node.js ${{ matrix.node-version }} / Typescript ${{ matrix.ts-version }} uses: actions/setup-node@v1 with: node-version: ${{ matrix.node-version }} - - run: npm ci + + - name: Install Dependencies + run: npm ci + + - name: Install TypeScript ${{ matrix.ts }} + run: npm install typescript@${{ matrix.ts-version }} + - run: npm run lint - run: npm test