Skip to content

PMM-13414: Refresh data once at 5000ms #3842

PMM-13414: Refresh data once at 5000ms

PMM-13414: Refresh data once at 5000ms #3842

Workflow file for this run

---
name: CI
on:
push:
branches:
- master
pull_request:
jobs:
test:
name: Run Unit tests
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- name: Checkout code
uses: percona-platform/checkout@v2
- name: Run with Node ${{ matrix.node-version }}
uses: percona-platform/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Get Yarn cache directory
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"
- name: Use Yarn cache
uses: percona-platform/cache@v2
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ matrix.node-version }}-${{ hashFiles('**/yarn.lock') }}
- name: Clean Yarn cache
run: yarn cache clean
- name: Install dependencies
run: YARN_CHECKSUM_BEHAVIOR=update yarn install --immutable
- name: Run tests
run: yarn run ci:test-percona-frontend