Skip to content

Commit

Permalink
chore: add GHA to test card ui builds (#2333)
Browse files Browse the repository at this point in the history
ensures that build tooling for cards UI is functional. This is mainly
for verifying dependabot upgrades, which can introduce version conflicts
in the build.

Note: Had to dismiss two CodeQL warnings as false-positives, most likely
due to line number changes from earlier dismissed warnings in `main.js`
  • Loading branch information
saikonen authored Mar 5, 2025
1 parent 40ca1d9 commit 95f9767
Show file tree
Hide file tree
Showing 3 changed files with 1,365 additions and 1,739 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/test-card-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Test Card UI builds

on:
pull_request:
branches:
- master
paths:
- 'metaflow/plugins/cards/ui/**'

jobs:
testbuild:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./metaflow/plugins/cards/ui
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
- run: npm ci
- run: npm run build
102 changes: 52 additions & 50 deletions metaflow/plugins/cards/card_modules/main.js

Large diffs are not rendered by default.

Loading

0 comments on commit 95f9767

Please sign in to comment.