aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/legacy.yml
blob: 66aafa38aed29635028ba2e9c19d0bd64d548372 (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: Legacy App Lint

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

jobs:
  build:

    runs-on: ubuntu-latest

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