summaryrefslogtreecommitdiffstats
path: root/.github/workflows/frontend.yml
blob: 272a24b1b300172973deea1bf7489c035a684c33 (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
name: frontend

on:
  push:
    paths:
    - ".github/workflows/frontend.yml"
    - "html/*"
  pull_request:
    paths:
    - ".github/workflows/frontend.yml"
    - "html/*"

jobs:
  build:
    runs-on: ubuntu-20.04
    steps:
      - uses: actions/checkout@v2
      - uses: actions/setup-node@v1
        with:
          node-version: '16.x'
      - name: Run yarn install, check and build
        run: |
          cd html
          yarn install
          yarn run check
          yarn run build