mr-smithers-excellent/docker-build-push

View on GitHub
.github/workflows/pr.yml

Summary

Maintainability
Test Coverage
name: 'Pull Request'

on: [pull_request]

jobs:
  run-tests:
    if: ${{ github.actor != 'dependabot[bot]' }}
    name: Unit Tests
    runs-on: ubuntu-latest
    steps:
      - name: Check out code
        uses: actions/checkout@v3

      - uses: actions/setup-node@v4
        with:
          node-version: 20

      - name: Build
        run: npm ci

      - name: Run unit tests
        run: npm run test