PMM-11148 Service management - Add/Edit service #3324
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: CI | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
test: | |
name: Run Unit tests | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [16.x] | |
steps: | |
- name: Checkout code | |
uses: percona-platform/checkout@v2 | |
- name: Run with Node 16 | |
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 |