summaryrefslogtreecommitdiffstats
path: root/.github/workflows/frontend.yml
blob: a099f5b1c22610e77960f140afb5473c63b31975 (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: '12.x'
      - name: Run yarn install, check and build
        run: |
          cd html
          yarn install
          yarn run check
          yarn run build