From aae89dd4ea8c92f22cab60700e3bbe22dbf07826 Mon Sep 17 00:00:00 2001 From: Matt Simerson Date: Thu, 4 Apr 2024 13:05:14 -0700 Subject: [PATCH] ci: update test runners --- .github/workflows/ci-test-win.yml | 35 ------------------------------- .github/workflows/ci-test.yml | 24 ++++++++------------- 2 files changed, 9 insertions(+), 50 deletions(-) delete mode 100644 .github/workflows/ci-test-win.yml diff --git a/.github/workflows/ci-test-win.yml b/.github/workflows/ci-test-win.yml deleted file mode 100644 index d038423..0000000 --- a/.github/workflows/ci-test-win.yml +++ /dev/null @@ -1,35 +0,0 @@ -name: CI Tests - Win - -on: [ push, pull_request ] - -jobs: - - ci-test-win: - - runs-on: ${{ matrix.os }} - - strategy: - matrix: - os: [ windows-latest ] - node-version: [12.x, 14.x] - fail-fast: false - - steps: - - uses: actions/checkout@v2 - name: Checkout Code - with: - fetch-depth: 1 - - - uses: actions/setup-node@v1 - name: Use Node.js ${{ matrix.node-version }} - with: - node-version: ${{ matrix.node-version }} - - - name: Install - run: npm install - - - name: Test - run: npm run test - - env: - CI: true diff --git a/.github/workflows/ci-test.yml b/.github/workflows/ci-test.yml index 2e7c813..d0f16f3 100644 --- a/.github/workflows/ci-test.yml +++ b/.github/workflows/ci-test.yml @@ -2,34 +2,28 @@ name: CI Tests on: [ push, pull_request ] -jobs: +env: + CI: true +jobs: ci-test: - runs-on: ${{ matrix.os }} - strategy: matrix: - os: [ ubuntu-latest ] - node-version: [12.x, 14.x] + os: [ ubuntu-latest, windows-latest ] + node-version: [12, 14, 16, 18, 20 ] fail-fast: false steps: - - uses: actions/checkout@v2 - name: Checkout Code + - uses: actions/checkout@v3 with: fetch-depth: 1 - - uses: actions/setup-node@v1 + - uses: actions/setup-node@v3 name: Use Node.js ${{ matrix.node-version }} with: node-version: ${{ matrix.node-version }} - - name: Install - run: npm install - - - name: Test - run: npm run test + - run: npm install + - run: npm run test - env: - CI: true \ No newline at end of file