From e6e27f4a0971f4e7326d9f6ea9f8a2fe7013ad3e Mon Sep 17 00:00:00 2001 From: Cody Olsen Date: Wed, 3 May 2023 02:35:20 +0200 Subject: [PATCH] refactor(CI): cleanup --- .github/workflows/main.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1ea5c6e8..e6db287d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -63,14 +63,14 @@ jobs: # https://nodejs.org/en/about/releases/ # https://pnpm.io/installation#compatibility # Includes the lowest version supported by preview-kit (defined in pkg.engines.node) and the upcoming version in development - node: [16, 18, 19] + node: [lts/-1, lts/*, current] os: [ubuntu-latest] # Also test the LTS on mac and windows include: - os: macos-latest - node: 18 + node: lts/* - os: windows-latest - node: 18 + node: lts/* runs-on: ${{ matrix.os }} env: NODE_VERSION: ${{ matrix.node }} @@ -92,8 +92,6 @@ jobs: - run: pnpm install --loglevel=error - run: pnpm test - run: pnpm test:esm - # Only node 16 and later supports `assert {type: json}` used in the test.mjs unit - if: matrix.node != '14' release: needs: [build, test]