-
Notifications
You must be signed in to change notification settings - Fork 4
37 lines (32 loc) · 980 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# This workflow will do a clean install of node dependencies and run lint tests
name: CI
on:
pull_request:
branches:
- main
jobs:
lint:
runs-on: ubuntu-20.04
steps:
- uses: percona-platform/checkout@v2
- name: Use Node.js 16.x
uses: percona-platform/setup-node@v2
with:
node-version: 16.x
- name: Install Dependencies
run: npm ci
- name: Run lint:tests
run: npm run lint:tests
fb_tests:
name: FB UI tests
uses: Percona-Lab/pmm-submodules/.github/workflows/[email protected]
secrets:
BACKUP_LOCATION_ACCESS_KEY: ${{ secrets.BACKUP_LOCATION_ACCESS_KEY }}
BACKUP_LOCATION_SECRET_KEY: ${{ secrets.BACKUP_LOCATION_SECRET_KEY }}
with:
server_image: 'perconalab/pmm-server:dev-latest'
client_version: 'dev-latest'
client_image: 'perconalab/pmm-client:dev-latest'
pmm_qa_branch: 'main'
pmm_ui_branch: ${{ github.head_ref }}
sha: 'null'