TrailerVote/trailervote-media-types

View on GitHub
.github/workflows/typescript.yml

Summary

Maintainability
Test Coverage
name: Node CI

on: [push]

jobs:
  build:

    runs-on: ubuntu-latest

    strategy:
      matrix:
        node-version: [10.x, 12.x]

    steps:
    - uses: actions/checkout@v1
    - name: Use Node.js ${{ matrix.node-version }}
      uses: actions/setup-node@v1
      with:
        node-version: ${{ matrix.node-version }}
    - name: yarn install, build, and test
      run: |
        cd typescript
        sudo apt-get update
        DEBIAN_FRONTEND=noninteractive sudo apt-get -y install rename
        yarn install
        yarn test
      env:
        CI: true