name: extension # Lint-only workflow. The sign-and-publish dance moved into build.yml's # `sign-extension` job (2026-05-25) — `:latest` now always bundles the XPI # because sign-extension runs as a build-web dependency in the SAME workflow, # eliminating the prior race between build.yml and a separate extension.yml. # Signed XPIs are cached in Forgejo Release Assets named `ext-`. on: push: branches: [dev, main] paths: - 'extension/**' - '.forgejo/workflows/extension.yml' pull_request: branches: [main] paths: - 'extension/**' workflow_dispatch: jobs: lint: runs-on: python-ci container: image: node:22-bookworm-slim steps: - uses: actions/checkout@v4 - name: Install web-ext run: cd extension && npm install --no-save --no-audit --no-fund - name: Lint run: cd extension && npm run lint