Skip to content

Commit

Permalink
ci: update test runners
Browse files Browse the repository at this point in the history
  • Loading branch information
msimerson committed Apr 4, 2024
1 parent e262368 commit aae89dd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 50 deletions.
35 changes: 0 additions & 35 deletions .github/workflows/ci-test-win.yml

This file was deleted.

24 changes: 9 additions & 15 deletions .github/workflows/ci-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit aae89dd

Please sign in to comment.