Added a condition that should remove an annoying bug on some screen s… #595
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 build | |
on: [pull_request, push] | |
jobs: | |
build: | |
name: Node.js v${{ matrix.node-version }}, ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
node-version: [12, 14] | |
os: [ubuntu-latest, windows-latest, macOS-latest] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Node.js v${{ matrix.node-version }} | |
uses: actions/[email protected] | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Update npm | |
run: | | |
npm install -g [email protected] | |
npm --version | |
- name: Install dependencies | |
uses: bahmutov/[email protected] | |
- name: Build | |
run: npm run build:production | |
- name: Lint | |
run: npm run lint | |
- name: Flow | |
run: npm run flow |