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