nukeop/nuclear

View on GitHub
.github/workflows/build.yml

Summary

Maintainability
Test Coverage
name: Node CI

on: [push]

jobs:
  build:

    runs-on: ${{ matrix.os }}
    strategy:
      matrix:
        os: [ubuntu-latest, windows-latest, macOS-latest]
    timeout-minutes: 10

    steps:
    - uses: actions/checkout@master
    - name: Use Node.js 11.x
      uses: actions/setup-node@v1
      with:
        version: 11.x
    - name: npm install, build, and test
      run: |
        npm install
        npm test
        npm run build
      shell: bash
      env:
        GITHASH: ${GITHUB_SHA}