Fix frequency for unknown hlas #1042
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Frontend Check Pipeline | |
on: | |
# manual dispatch | |
workflow_dispatch: | |
# run on PRs to master when - is opened, | |
# new commit is pushed or is set as ready for review | |
pull_request: | |
types: [ opened, synchronize, ready_for_review ] | |
branches: | |
- master | |
- release | |
# Cancel workflow when new pushes are made | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
run_fe_tests: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
# disable run if the PR is draft (as our CLI creates PR as draft once the issue is in progress) | |
if: github.event.pull_request.draft == false | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup node env 🏗 | |
uses: actions/setup-node@v2.1.5 | |
with: | |
node-version: ${{ matrix.node }} | |
check-latest: true | |
- name: Install dependencies | |
working-directory: txmatching/web/frontend | |
run: npm install | |
- name: Run prettier check | |
working-directory: txmatching/web/frontend | |
run: npm run prettier-check | |
- name: Run lint check | |
working-directory: txmatching/web/frontend | |
run: npm run lint-check | |
- name: Build check | |
working-directory: txmatching/web/frontend | |
run: npm run build |