new-log-viewer: Define interface for filtering by log level and add support (internally) to JsonlDecoder; Move timestamp field extraction from LogbackFormatter to JsonlDecoder. #299
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "lint" | |
on: | |
pull_request: | |
types: ["opened", "reopened", "synchronize"] | |
push: | |
schedule: | |
# Run at midnight UTC every day with 15 minutes delay added to avoid high load periods | |
- cron: "15 0 * * *" | |
workflow_dispatch: | |
permissions: | |
# So the workflow can cancel in-progress jobs | |
actions: "write" | |
concurrency: | |
group: "${{github.workflow}}-${{github.ref}}" | |
# Cancel in-progress jobs for efficiency | |
cancel-in-progress: true | |
jobs: | |
lint-check: | |
runs-on: "ubuntu-latest" | |
steps: | |
- uses: "actions/checkout@v4" | |
with: | |
submodules: "recursive" | |
- uses: "actions/setup-node@v4" | |
with: | |
node-version: 22 | |
- run: "npm --prefix new-log-viewer/ clean-install" | |
- run: "npm --prefix new-log-viewer/ run lint:ci" |