Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

chore(ci): more updating CI to run more efficient

Gabe Kangas7229cd26db04
diff --git a/.github/workflows/browser-testing.yml b/.github/workflows/browser-testing.yml
index 17bd3fd1b0..6807577aab 100644
--- a/.github/workflows/browser-testing.yml
+++ b/.github/workflows/browser-testing.yml
@@ -1,9 +1,7 @@
# This workflow runs browser-based tests using Cypress
# Triggers:
-# - Push/PR with web or browser test changes
-# Skips:
-# - Documentation-only changes in web/
-# - Configuration-only changes
+# - Push/PR with web, Go backend, or browser test changes
+# Note: Browser tests require both frontend and backend
name: Browser Tests
@@ -11,11 +9,19 @@ on:
push:
paths:
- 'web/**'
+ - '**.go'
+ - 'go.mod'
+ - 'go.sum'
- 'test/automated/browser/**'
+ - '.github/workflows/browser-testing.yml'
pull_request:
paths:
- 'web/**'
+ - '**.go'
+ - 'go.mod'
+ - 'go.sum'
- 'test/automated/browser/**'
+ - '.github/workflows/browser-testing.yml'
jobs:
cypress-run:
diff --git a/.github/workflows/chromatic.yml b/.github/workflows/chromatic.yml
index 9104b38e2c..44f40ff948 100644
--- a/.github/workflows/chromatic.yml
+++ b/.github/workflows/chromatic.yml
@@ -2,10 +2,9 @@
# This workflow publishes Storybook to Chromatic for visual regression testing
# Triggers:
-# - Push/PR with changes to web/ directory
+# - Push/PR with changes to web components, stories, or styles
# Skips:
# - Static files
-# - next.config.js changes
# - Renovate bot PRs
# Features:
# - Uses onlyChanged for efficient testing
@@ -16,10 +15,24 @@ name: 'Chromatic'
on:
push:
paths:
- - web/**
+ - 'web/components/**'
+ - 'web/stories/**'
+ - 'web/.storybook/**'
+ - 'web/**/*.{css,scss}'
+ - 'web/i18n/**'
+ - 'web/package.json'
+ - 'web/package-lock.json'
+ - '.github/workflows/chromatic.yml'
pull_request:
paths:
- - web/**
+ - 'web/components/**'
+ - 'web/stories/**'
+ - 'web/.storybook/**'
+ - 'web/**/*.{css,scss}'
+ - 'web/i18n/**'
+ - 'web/package.json'
+ - 'web/package-lock.json'
+ - '.github/workflows/chromatic.yml'
# List of jobs
jobs:
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml
index 73215f7375..096dd690df 100644
--- a/.github/workflows/codeql-analysis.yml
+++ b/.github/workflows/codeql-analysis.yml
@@ -14,13 +14,23 @@ name: 'CodeQL'
on:
push:
branches: [develop]
- paths-ignore:
- - 'static/**'
+ paths:
+ - '**.go'
+ - 'go.mod'
+ - 'go.sum'
+ - 'web/**/*.{js,ts,tsx,jsx}'
+ - '.github/workflows/codeql-analysis.yml'
+ - '.github/codeql/**'
pull_request:
# The branches below must be a subset of the branches above
branches: [develop]
- paths-ignore:
- - 'static/**'
+ paths:
+ - '**.go'
+ - 'go.mod'
+ - 'go.sum'
+ - 'web/**/*.{js,ts,tsx,jsx}'
+ - '.github/workflows/codeql-analysis.yml'
+ - '.github/codeql/**'
jobs:
analyze:
diff --git a/.github/workflows/go-lint.yml b/.github/workflows/go-lint.yml
index d2a70ebae5..e8a1715315 100644
--- a/.github/workflows/go-lint.yml
+++ b/.github/workflows/go-lint.yml
@@ -9,11 +9,19 @@
name: Lint
on:
push:
- paths-ignore:
- - 'web/**'
+ paths:
+ - '**.go'
+ - 'go.mod'
+ - 'go.sum'
+ - '.golangci.yml'
+ - '.github/workflows/go-lint.yml'
pull_request:
- paths-ignore:
- - 'web/**'
+ paths:
+ - '**.go'
+ - 'go.mod'
+ - 'go.sum'
+ - '.golangci.yml'
+ - '.github/workflows/go-lint.yml'
permissions:
contents: read
diff --git a/.github/workflows/hls-tests.yml b/.github/workflows/hls-tests.yml
index f3bea925cc..e79c36f193 100644
--- a/.github/workflows/hls-tests.yml
+++ b/.github/workflows/hls-tests.yml
@@ -1,8 +1,6 @@
# This workflow tests HLS video streaming functionality
# Triggers:
-# - Push/PR with Go file changes
-# Skips:
-# - Web-only changes
+# - Push/PR with Go file changes or HLS test changes
# Tests:
# - Local storage backend
# - S3 storage backend (when secrets available)
@@ -12,11 +10,19 @@ name: HLS tests
on:
push:
- paths-ignore:
- - 'web/**'
+ paths:
+ - '**.go'
+ - 'go.mod'
+ - 'go.sum'
+ - 'test/automated/hls/**'
+ - '.github/workflows/hls-tests.yml'
pull_request:
- paths-ignore:
- - 'web/**'
+ paths:
+ - '**.go'
+ - 'go.mod'
+ - 'go.sum'
+ - 'test/automated/hls/**'
+ - '.github/workflows/hls-tests.yml'
env:
S3_BUCKET: ${{ secrets.S3_BUCKET }}
diff --git a/.github/workflows/javascript-format-test-build.yml b/.github/workflows/javascript-format-test-build.yml
index d072b81ed7..40fab57aa9 100644
--- a/.github/workflows/javascript-format-test-build.yml
+++ b/.github/workflows/javascript-format-test-build.yml
@@ -1,8 +1,9 @@
# This workflow handles Javascript formatting, linting, testing, and building
# Triggers:
-# - Push/PR with changes to web/ directory
+# - Push/PR with changes to web/ directory source code
# Skips:
# - Markdown files
+# - Static/generated files
# Jobs:
# 1. formatting: ESLint and Prettier formatting
# 2. unused-code: Knip checks for unused code and dependencies
@@ -14,13 +15,25 @@ name: Javascript
on:
push:
paths:
- - web/**
- - '!**.md'
+ - 'web/**/*.{js,ts,tsx,jsx,json,css,scss}'
+ - 'web/package.json'
+ - 'web/package-lock.json'
+ - 'web/.eslintrc.js'
+ - 'web/.prettierrc.js'
+ - 'web/tsconfig.json'
+ - 'web/next.config.js'
+ - '.github/workflows/javascript-format-test-build.yml'
pull_request:
paths:
- - web/**
- - '!**.md'
+ - 'web/**/*.{js,ts,tsx,jsx,json,css,scss}'
+ - 'web/package.json'
+ - 'web/package-lock.json'
+ - 'web/.eslintrc.js'
+ - 'web/.prettierrc.js'
+ - 'web/tsconfig.json'
+ - 'web/next.config.js'
+ - '.github/workflows/javascript-format-test-build.yml'
jobs:
formatting: