heppokofrontend/html-entity

View on GitHub
.github/workflows/ci.yml

Summary

Maintainability
Test Coverage
name: test
on:
  push:
    branches:
      - main
    paths:
      - '**.ts'
      - '**.json'
      - '**.yml'
  pull_request:
    paths:
      - '!*.md'
jobs:
  test:
    strategy:
      matrix:
        # platform: [ windows-latest, macOS-latest ]
        platform: [ ubuntu-latest ]
        node: [ '14' ]
    name: test/node ${{ matrix.node }}/${{ matrix.platform }}
    runs-on: ${{ matrix.platform }}
    steps:
    - uses: actions/checkout@v2
    - uses: actions/setup-node@v2
      with:
        node-version: '14'
    - run: npm ci
    - run: npm test
    - uses: paambaati/codeclimate-action@v2.7.5
      env:
        CC_TEST_REPORTER_ID: 0ffd95352ef605a6c69f45e4d7c14f588781ed4f9561af7bf9b612c294c46b6b
      with:
        coverageLocations: |
          ${{github.workspace}}/coverage/lcov.info:lcov