use strategy + matrix
@@ -5,7 +5,11 @@ on:
- "**"
jobs:
test:
- runs-on: [macos-latest, windows-latest, ubuntu-latest]
+ runs-on: ${{ matrix.os }}
+ strategy:
+ fail-fast: true
+ matrix:
+ os: [macos-latest, windows-latest, ubuntu-latest]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
