diff options
Diffstat (limited to '.github/workflows/ci.yml')
| -rw-r--r-- | .github/workflows/ci.yml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..cc1b29b --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,25 @@ +name: Node CI + +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + node: [ '12', '10', '8' ] + name: Node ${{ matrix.node }} CI + steps: + - uses: actions/checkout@v1 + - name: Setup node + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node }} + - name: npm install, build, lint, and test + run: | + npm ci + npm run build + npm run lint + npm test + env: + CI: true |
