Skip to content

Added metrics for genai text #7485

Added metrics for genai text

Added metrics for genai text #7485

Workflow file for this run

# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more info see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Node.js CI
env:
folder_to_upload: dist/apps/dashboard
blob_account: responsibleai
blob_container: pullrequest
blob_path: ${{ github.event.pull_request.head.repo.full_name }}/${{ github.head_ref }}
on:
pull_request:
branches: [main]
jobs:
ci-typescript:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x, 14.x, 16.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install yarn
run: npm install yarn -g
- name: CI
run: yarn ci
- name: Upload unit test code coverage
if: always()
uses: actions/upload-artifact@v3
with:
name: unit-test-coverage-${{ matrix.node-version }}
path: coverage
- name: Upload e2e test screen shot
if: always()
uses: actions/upload-artifact@v3
with:
name: e2e-screen-shot-${{ matrix.node-version }}
path: dist/cypress
- name: Upload yarn error
if: always()
uses: actions/upload-artifact@v3
with:
name: yarn-error.log-${{ matrix.node-version }}
path: yarn-error.log