Skip to content

Commit a169147

Browse files
committed
fixes
1 parent f8cfeff commit a169147

2 files changed

Lines changed: 17 additions & 6 deletions

File tree

.github/workflows/bump-app-catalog.yml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
uses: actions/setup-node@v6
5151
with:
5252
node-version-file: app/package.json
53-
cache: "pnpm"
53+
cache: 'pnpm'
5454
cache-dependency-path: app/pnpm-lock.yaml
5555

5656
- name: Bump @viamrobotics/test-widgets in pnpm-workspace.yaml
@@ -82,6 +82,17 @@ jobs:
8282
working-directory: app
8383
run: pnpm${{ steps.affected.outputs.filters }} --if-present check
8484

85+
- name: Install Playwright browsers (if used)
86+
if: steps.affected.outputs.filters != ''
87+
working-directory: app
88+
run: |
89+
if pnpm exec playwright --version >/dev/null 2>&1; then
90+
echo "Playwright detected in workspace; installing chromium"
91+
pnpm exec playwright install --with-deps chromium
92+
else
93+
echo "Playwright not in workspace; skipping browser install"
94+
fi
95+
8596
- name: Run tests in affected workspaces
8697
if: steps.affected.outputs.filters != ''
8798
working-directory: app
@@ -95,8 +106,8 @@ jobs:
95106
branch: bump/test-widgets-${{ env.VERSION }}
96107
delete-branch: true
97108
base: main
98-
commit-message: "chore: bump test-widgets to ${{ env.VERSION }}"
99-
title: "chore: bump test-widgets to ${{ env.VERSION }}"
109+
commit-message: 'chore: bump test-widgets to ${{ env.VERSION }}'
110+
title: 'chore: bump test-widgets to ${{ env.VERSION }}'
100111
body: |
101112
Automated bump of `@viamrobotics/test-widgets` to `${{ env.VERSION }}` following a release in [viamrobotics/test-widgets](https://github.com/viamrobotics/test-widgets/releases/tag/v${{ env.VERSION }}).
102113

.github/workflows/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Main
22

33
on:
44
push:
5-
branches: [ main ]
5+
branches: [main]
66

77
permissions:
88
contents: write
@@ -29,8 +29,8 @@ jobs:
2929
uses: actions/setup-node@v6
3030
with:
3131
node-version: 22.22.1
32-
cache: "pnpm"
33-
registry-url: "https://registry.npmjs.org"
32+
cache: 'pnpm'
33+
registry-url: 'https://registry.npmjs.org'
3434

3535
- name: Update npm
3636
run: npm install -g npm@latest

0 commit comments

Comments
 (0)