3 on: [push, pull_request]
8 runs-on: ${{ matrix.os }}
12 os: [windows-latest, macOS-latest, ubuntu-latest]
13 node: [8.x, 10.x, 12.x, 14.x]
16 - uses: actions/checkout@v1
17 - name: Use Node.js ${{ matrix.node-version }}
18 uses: actions/setup-node@v1
20 node-version: ${{ matrix.node-version }}
21 - name: npm install, build, and test
24 npm run build --if-present