This repository has been archived by the owner on Jan 12, 2024. It is now read-only.
Bump @types/jest from 29.5.10 to 29.5.11 #371
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: "Test & Coverage" | |
on: [push, pull_request] | |
jobs: | |
test_and_coverage: | |
name: "Test & Coverage" | |
runs-on: ubuntu-latest | |
permissions: write-all | |
strategy: | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
repository: elastic/kibana | |
ref: refs/heads/main | |
- uses: actions/checkout@v2 | |
with: | |
name: pjhampton/kibana-prometheus-exporter | |
ref: refs/heads/main | |
path: 'plugins/kibana-prometheus-exporter' | |
- name: Install workflow dependencies | |
run: sudo apt-get install -y jq | |
- name: Read .nvmrc | |
run: echo "##[set-output name=NVMRC;]$(cat .nvmrc)" | |
id: nvm | |
- name: Use Node.js (.nvmrc) | |
uses: actions/setup-node@v1 | |
with: | |
node-version: "${{ steps.nvm.outputs.NVMRC }}" | |
- name: Set up Kibana development environment | |
run: yarn kbn bootstrap | |
- name: Install plugin dependencies | |
working-directory: plugins/kibana-prometheus-exporter | |
run: yarn install | |
- name: Run tests | |
working-directory: plugins/kibana-prometheus-exporter | |
run: yarn test | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v1 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} |