Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Jun 10, 2023
1 parent f7705af commit 6cf7558
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/main.yml
@@ -1,19 +1,25 @@
name: CI
on: [push, pull_request]

on:
- push
- pull_request
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04, ubuntu-22.04, macOS-latest, windows-latest]
node: [16, 18, 20]

os:
- ubuntu-20.04
- ubuntu-22.04
- macOS-latest
- windows-latest
node-version:
- 18
- 16
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm test

0 comments on commit 6cf7558

Please sign in to comment.