Use config for URLs instead of hardcoding URLs #2803
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: dashboard | |
on: | |
pull_request: | |
paths: | |
- '.github/workflows/dashboard.yml' | |
- 'packages/dashboard/**' | |
- 'packages/react-components/**' | |
- 'packages/rmf-models/**' | |
- 'packages/api-client/**' | |
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/dashboard | |
steps: | |
- uses: actions/checkout@v4 | |
- name: bootstrap | |
uses: ./.github/actions/bootstrap | |
with: | |
package: rmf-dashboard | |
skip-build: true | |
- name: lint | |
run: pnpm lint | |
- name: unit test | |
run: pnpm run test:coverage | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v1 | |
with: | |
flags: dashboard |