Skip to content

fix(publish-metrics): route debug correctly for publish metrics repor… #1288

fix(publish-metrics): route debug correctly for publish metrics repor…

fix(publish-metrics): route debug correctly for publish metrics repor… #1288

Workflow file for this run

name: Run tests
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
test:
timeout-minutes: 30
runs-on: ubuntu-latest
permissions:
contents: read
strategy:
matrix:
node-version: [18.x, 20.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm run build
- run: npm run test
env:
FORCE_COLOR: 1
- name: Notify about failures
if: failure() && github.ref == 'refs/heads/main'
uses: 8398a7/[email protected]
with:
status: ${{ job.status }}
fields: repo,message,commit,author,eventName,job,took,pullRequest
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}