move pnpm overrides (#1092) #716
This file contains hidden or 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: ros-translator | |
| on: | |
| pull_request: | |
| paths: | |
| - '.github/workflows/ros-translator.yml' | |
| - '.github/actions/bootstrap/action.yml' | |
| - '.github/minimal-rmf/**' | |
| - 'packages/ros-translator/**' | |
| - 'package.json' | |
| - 'pnpm-workspace.yaml' | |
| 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-latest | |
| container: | |
| image: ghcr.io/${{ github.repository }}/minimal-rmf:rolling-nightly | |
| credentials: | |
| username: ${{ github.repository_owner }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| defaults: | |
| run: | |
| shell: bash | |
| working-directory: packages/ros-translator | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: dependencies | |
| run: apt update && apt install ros-dev-tools -y | |
| - name: bootstrap | |
| uses: ./.github/actions/bootstrap | |
| with: | |
| package: ros-translator | |
| skip-build: true | |
| - name: set up npx | |
| run: | | |
| pnpm add -g npm | |
| - name: test | |
| run: . /opt/ros/rolling/setup.bash && pnpm test |