massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / @humanwhocodes / object-schema / .github / workflows / nodejs-test.yml
1 name: Node CI
2
3 on: [push, pull_request]
4
5 jobs:
6   build:
7
8     runs-on: ${{ matrix.os }}
9
10     strategy:
11       matrix:
12         os: [windows-latest, macOS-latest, ubuntu-latest]
13         node: [8.x, 10.x, 12.x, 14.x]
14
15     steps:
16     - uses: actions/checkout@v1
17     - name: Use Node.js ${{ matrix.node-version }}
18       uses: actions/setup-node@v1
19       with:
20         node-version: ${{ matrix.node-version }}
21     - name: npm install, build, and test
22       run: |
23         npm install
24         npm run build --if-present
25         npm test
26       env:
27         CI: true