Skip to content

commcare connect deliver unit mug #133

commcare connect deliver unit mug

commcare connect deliver unit mug #133

Workflow file for this run

name: vellum metrics
on:
pull_request:
branches:
- master
schedule:
- cron: "0 0 * * *" # daily
jobs:
metrics:
runs-on: ubuntu-22.04
timeout-minutes: 60
env:
REPO: vellum
DATADOG_API_KEY: ${{ secrets.DATADOG_API_KEY }}
DATADOG_APP_KEY: ${{ secrets.DATADOG_APP_KEY }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 14
- uses: actions/setup-python@v4
with:
python-version: |
3.9
- name: Install dependencies
run: |
yarn_version=$(grep -Eo '^yarn@[^:]+' ./yarn.lock)
echo "lock file requires: $yarn_version"
npm install "$yarn_version"
yarn install
- name: Install dependency-metrics
run: pip install dependency-metrics
- name: run metrics for yarn
run: metrics yarn --send