1+ # Copyright 2025 Open Source Robotics Foundation, Inc.
2+ #
3+ # Licensed under the Apache License, Version 2.0 (the "License");
4+ # you may not use this file except in compliance with the License.
5+ # You may obtain a copy of the License at
6+ #
7+ # http://www.apache.org/licenses/LICENSE-2.0
8+ #
9+ # Unless required by applicable law or agreed to in writing, software
10+ # distributed under the License is distributed on an "AS IS" BASIS,
11+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+ # See the License for the specific language governing permissions and
13+ # limitations under the License.
14+
15+ name : build-and-deploy-rcr-ui
16+ run-name : ${{ github.actor }} tests code against a linux amd64 platform.
17+ on : [push]
18+ permissions :
19+ contents : write
20+ jobs :
21+ checkout-setup-build-test :
22+ runs-on : ubuntu-24.04
23+ steps :
24+
25+ # Install necessary platform tooling
26+ - name : Install platform tooling
27+ timeout-minutes : 10
28+ run : |
29+ sudo apt-get -qq npm
30+ sudo npm install -g pnpm
31+
32+ # Checkout this repository and all submodules.
33+ - name : Checkout repository and submodules
34+ uses : actions/checkout@v4
35+ with :
36+ submodules : true
37+
38+ # Build the ROS examples.
39+ - name : Install project dependencies
40+ run : pnpm install
41+
42+ # Test the distribution.
43+ - name : Generate static web pages
44+ run : pnpm run build
45+
46+ # Deploy to github pages
47+ - name : Deploy to github pages
48+ uses : JamesIves/github-pages-deploy-action@v4
49+ with :
50+ folder : out
0 commit comments