name: 'CI'
on:
    push:
        branches:
          - master

# Jobs
jobs:
    # Build Project
    build:
        name: Build
        runs-on: ubuntu-latest
        steps:
          - name: Checkout Repository
            uses: actions/checkout@v4
          # Dependencies
          - name: Install Dependencies
            run: npm ci
          # Test
          - name: Test
            run: npm test
          # Lint
          - name: Lint
            run: npm run lint