chore: run test on multi node and os

This commit is contained in:
TonyRL
2022-02-06 00:33:54 +08:00
parent af6e440132
commit 6b1cfde579
+4 -2
View File
@@ -4,7 +4,7 @@ on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
services:
redis:
@@ -14,8 +14,10 @@ jobs:
options: --entrypoint redis-server
strategy:
fail-fast: false
matrix:
node-version: ['14.x']
node-version: ['14', '16']
os: [macos-latest, ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v2