aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/modern.yml
blob: ebf155a2cc354e2d75082ada9484849d93f4a286 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: Modern App Lint

on:
  push:
    branches:
      - master
    paths:
      - modern/**
  pull_request:
    branches:
      - master
    paths:
      - modern/**

jobs:
  build:

    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v3
    - uses: actions/setup-node@v3
      with:
        cache: npm
        cache-dependency-path: modern/package-lock.json
    - run: npm ci
      working-directory: modern
    - run: npm run lint
      working-directory: modern