summaryrefslogtreecommitdiffstats
path: root/.github/workflows/frontend.yml
blob: f0005f107d419fcc783caba281e0778206cda006 (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@v3
      - uses: actions/setup-node@v3
        with:
          node-version: '16.x'
      - name: Run yarn install, check and build
        run: |
          cd html
          yarn install
          yarn run check
          yarn run build