Skip to content

Add GitHub Copilot handoff skill to Claude Code (#19991) #79

Add GitHub Copilot handoff skill to Claude Code (#19991)

Add GitHub Copilot handoff skill to Claude Code (#19991) #79

Workflow file for this run

name: JS
on:
push:
paths:
- mlflow/server/js/**
- .github/workflows/js.yml
branches:
- master
- branch-[0-9]+.[0-9]+
pull_request:
types:
- opened
- synchronize
- reopened
- ready_for_review
paths:
- mlflow/server/js/**
- .github/workflows/js.yml
concurrency:
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}
cancel-in-progress: true
defaults:
run:
shell: bash
jobs:
js:
if: github.event_name != 'pull_request' || github.event.pull_request.draft == false
permissions:
contents: read
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
option: [--testPathPattern, --testPathIgnorePatterns]
include:
- os: ubuntu-latest
shell: bash
- os: windows-latest
shell: pwsh
runs-on: ${{ matrix.os }}
defaults:
run:
shell: ${{ matrix.shell }}
working-directory: mlflow/server/js
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: ./.github/actions/setup-node
- name: Disable problem matcher
if: runner.os == 'Windows'
run: |
echo "::remove-matcher owner=eslint-compact::"
echo "::remove-matcher owner=eslint-stylish::"
- name: Install dependencies (windows)
if: runner.os == 'Windows'
run: |
# On Windows, `yarn install` changes hash of @databricks/design-system in yarn.lock.
# Use `--no-immutable` to allow the change.
yarn install --no-immutable
git diff
- name: Install dependencies (non-windows)
if: runner.os != 'Windows'
run: |
yarn install --immutable
- name: Run lint
run: |
yarn lint
- name: Run prettier
run: |
yarn prettier:check
# TODO: Disabled for now. Revisit after DAIS.
# - name: Run knip
# run: |
# yarn knip
- name: Run extract-i18n lint
run: |
yarn i18n:check
- name: Run type-check
run: |
yarn type-check
- name: Run tests
run: |
yarn test ${{ runner.os == 'Windows' && '--testTimeout=10000' || '' }} --silent ${{ matrix.option }} src/experiment-tracking/components
- name: Run build
if: runner.os == 'Linux'
env:
# Prevent warnings (emitted from react-pdf) from being treated as errors
# https://github.com/wojtekmaj/react-pdf/issues/280
CI: false
run: |
yarn build