Skip to content

Commit 359ba95

Browse files
feat: Add overwatch to github actions (#3791)
Co-authored-by: Gguidini <[email protected]> Co-authored-by: Giovanni M Guidini <[email protected]>
1 parent a7e92e4 commit 359ba95

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed

.github/workflows/ci.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,50 @@ jobs:
334334
# The head sha aligns with how the sha used in prod builds
335335
GAZEBO_SHA: ${{ github.event.pull_request.head.sha }}
336336

337+
overwatch:
338+
name: Run Overwatch
339+
runs-on: ubuntu-latest
340+
needs: install
341+
steps:
342+
- name: Checkout
343+
uses: actions/checkout@v4
344+
345+
- name: Setup Node
346+
uses: actions/setup-node@v4
347+
with:
348+
node-version: 20
349+
350+
- name: Cache node_modules
351+
id: cache-node-modules
352+
uses: actions/cache@v4
353+
env:
354+
cache-name: cache-gazebo-node-modules
355+
with:
356+
path: |
357+
node_modules
358+
key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('**/yarn.lock') }}
359+
restore-keys: |
360+
${{ runner.os }}-${{ env.cache-name }}-
361+
362+
- name: Install Build Dependencies
363+
run: |
364+
sudo apt-get update
365+
# Install libssl1.1 from Ubuntu 20.04 repositories
366+
wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2_amd64.deb
367+
sudo dpkg -i libssl1.1_1.1.1f-1ubuntu2_amd64.deb
368+
369+
- name: Install Overwatch CLI
370+
run: |
371+
curl -o overwatch-cli https://overwatch.codecov.io/linux/cli
372+
chmod +x overwatch-cli
373+
374+
- name: Run Overwatch CLI
375+
run: |
376+
./overwatch-cli \
377+
--auth-token ${{ secrets.SENTRY_AUTH_TOKEN }} \
378+
--organization-slug codecov \
379+
javascript --package-manager yarn
380+
337381
storybook:
338382
name: Run storybook
339383
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)