-
Notifications
You must be signed in to change notification settings - Fork 418
50 lines (42 loc) · 1017 Bytes
/
main.yml
File metadata and controls
50 lines (42 loc) · 1017 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
name: CI
on:
pull_request:
push:
branches:
- develop
defaults:
run:
shell: bash
jobs:
ci:
name: ${{ matrix.ros_distro }} (node ${{ matrix.node_version }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ros_distro:
- noetic
- humble
# Temporarily disabled until next rosbridge release is synced
# - jazzy
# - kilted
node_version: [20, 22, 24]
env:
ROS_DISTRO: ${{ matrix.ros_distro }}
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
cache: npm
node-version: ${{ matrix.node_version }}
- name: Install Node.js dependencies
run: npm ci
- name: Build JavaScript library
run: npm run build --workspaces --if-present
- name: Run tests
run: npm test --workspaces --if-present
docs:
uses: ./.github/workflows/docs.yml
secrets: inherit
with:
deploy: false