SyncM8/syncm8

View on GitHub
.github/workflows/frontendCI.yml

Summary

Maintainability
Test Coverage
name: Frontend CI

on:
  push:
    branches: [ main, dev ]
  pull_request:
  workflow_dispatch:

jobs:
  frontendTests:
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v2

      - uses: actions/setup-node@v2
        with:
          node-version: 10.x

      - name: Install Modules
        run: |
          cd client
          npm ci

      - name: Run Frontend Tests
        run: |
          cd client
          npm run test