Merge pull request #478 from OmarBrbutovic/fix_highlight_filter_appen… #1385
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: Functionality tests | |
on: | |
push: | |
branches: | |
- master | |
- 'release-*' | |
create: | |
pull_request: | |
jobs: | |
build: | |
name: Run code quality and funcionality tests | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node_version: | |
- 16 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Use Node.js ${{ matrix.node_version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node_version }} | |
- name: Cache dependencies | |
uses: actions/cache@v2 | |
with: | |
path: | | |
**/node_modules | |
key: ${{ runner.os }}-${{ matrix.node_version }}-${{ hashFiles('**/package-lock.json') }} | |
- name: Install dependencies | |
run: npm ci | |
- name: Check formatting | |
run: npm run check-format | |
- name: Check linting | |
run: npm run check-lint | |
- name: Check Typescript | |
run: npm run check-types | |
- name: Run Jest tests | |
run: npm run jest:test | |
- name: Start dev server | |
run: npm run start & npx wait-on http://localhost:8080 | |
- name: Run Cypress tests | |
run: npm run cypress:test |