name: frontend on: push: paths: - "html/*" pull_request: paths: - "html/*" jobs: build: runs-on: ubuntu-16.04 steps: - uses: actions/checkout@v1 - 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