# The browser frontend under gui/. No paths filter: the page reads the # generated bindings, so a Rust change can break it. The Rust side of the GUI # (the gui leg and the bindings drift check) runs in ci.yml. on: pull_request: push: branches: [main] name: GUI permissions: contents: read jobs: frontend: name: Frontend runs-on: ubuntu-latest if: | !contains(format('{0} {1} {2}', github.event.head_commit.message, github.event.pull_request.title, github.event.pull_request.body), '[skip ci]') defaults: run: working-directory: gui steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 with: node-version: 24 cache: npm cache-dependency-path: gui/package-lock.json - run: npm ci - run: npm run lint - run: npm run format:check - run: npm run typecheck - run: npm test - run: npm run build - uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 with: name: gui-dist path: gui/dist if-no-files-found: error - run: npx playwright install --with-deps chromium firefox webkit - run: npm run shots - uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 if: always() with: name: gui-shots path: gui/shots if-no-files-found: error