Skip to content

Direct dispatch to fleet or robot #2166

Direct dispatch to fleet or robot

Direct dispatch to fleet or robot #2166

name: react-components
on:
pull_request:
paths:
- '.github/workflows/react-components.yml'
- 'packages/react-components/**'
- 'packages/rmf-models/**'
push:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
CI: true
jobs:
unit-tests:
name: Unit Tests
runs-on: ubuntu-24.04
container:
image: ghcr.io/${{ github.repository }}/minimal-rmf
credentials:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
defaults:
run:
shell: bash
working-directory: packages/react-components
steps:
- uses: actions/checkout@v4
- name: bootstrap
uses: ./.github/actions/bootstrap
with:
package: react-components
- name: lint
run: pnpm run lint
- name: test
run: pnpm run test:coverage
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
flags: react-components