From 710033022ff053517596ec2f706903066eccadd9 Mon Sep 17 00:00:00 2001 From: Mohamed Akram Date: Wed, 20 Sep 2023 15:32:36 +0400 Subject: [PATCH] Drop EOL Node.js versions from CI --- .github/workflows/ci.yml | 27 +-------------------------- 1 file changed, 1 insertion(+), 26 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2b9d4e46..cd0c1cfe 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,31 +25,6 @@ jobs: - name: Lint run: npm run lint - dependencies: - name: Test (dependencies) - runs-on: 'ubuntu-latest' - steps: - - name: Checkout - uses: actions/checkout@v2 - - - name: Setup Node.js - uses: actions/setup-node@v2 - with: - # Node 14 ships with npm v6, which doesn't install peer-dependencies by default. - # Starting with npm v7 (which is shipped with Node >= 16), peer-dependencies are - # automatically installed. So this test (check for unmet peer-dependencies) only - # works with Node <= 14. - node-version: '14' - - # Simulate an installation by a dependent package - - name: Install dependencies - run: | - rm package-lock.json - npm install --production - - - name: Check dependency tree - run: npm ls - test: name: Test (Node) runs-on: ${{ matrix.operating-system }} @@ -58,7 +33,7 @@ jobs: matrix: operating-system: ['ubuntu-latest', 'windows-latest'] # https://nodejs.org/en/about/releases/ - node-version: ['12', '14', '16', '18', '20'] + node-version: ['18', '20'] steps: - name: Checkout