aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/pull-compliance-docs.yml
blob: 0f6720a64dccfd220bcf1fa8e005a72e4e3e6de9 (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
name: compliance-docs

on:
  pull_request:

concurrency:
  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
  cancel-in-progress: true

jobs:
  files-changed:
    uses: ./.github/workflows/files-changed.yml

  compliance-docs:
    if: needs.files-changed.outputs.docs == 'true'
    needs: files-changed
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - uses: actions/setup-node@v3
        with:
          node-version: 20
      - run: make deps-frontend
      - run: make lint-md
      - run: make docs # test if build could succeed