GregBrimble/cf-workers-dashboard

View on GitHub
.github/workflows/test.yml

Summary

Maintainability
Test Coverage
name: Test
on: [push]

jobs:
  deploy:
    runs-on: ubuntu-latest
    name: Test
    steps:
      - name: Checkout
        uses: actions/checkout@v2
      - name: Setup Node
        uses: actions/setup-node@v1
        with:
          fetch-depth: 1
      - name: Install
        run: npm ci
        env:
          GITHUB_TOKEN: ${{ github.token }}
      - name: Lint
        run: npm run lint
      - name: Test
        run: npm run test
      - name: Upload Coverage Report
        uses: codecov/codecov-action@v1.0.6