Skip to content

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

chore(deps): do not run code lint/format on renovate PRs and do not run linter during builds

Gabe Kangasb0f642b93cb6
diff --git a/.github/workflows/javascript-format-test-build.yml b/.github/workflows/javascript-format-test-build.yml
index 479e916235..afe537f33a 100644
--- a/.github/workflows/javascript-format-test-build.yml
+++ b/.github/workflows/javascript-format-test-build.yml
@@ -38,6 +38,7 @@ on:
jobs:
formatting:
name: Code formatting
+ if: github.actor != 'renovate[bot]'
runs-on: ubuntu-latest
defaults:
run:
@@ -133,6 +134,7 @@ jobs:
unused-code:
name: Test for unused code
+ if: github.actor != 'renovate[bot]'
runs-on: ubuntu-latest
defaults:
run:
@@ -197,7 +199,7 @@ jobs:
web-bundle:
name: Build and bundle web project
runs-on: ubuntu-latest
- if: github.repository == 'owncast/owncast'
+ if: github.repository == 'owncast/owncast' && !cancelled()
needs: [formatting, unused-code]
steps:
- id: skip_check
diff --git a/web/next.config.js b/web/next.config.js
index 4825b530d5..c2a8962156 100644
--- a/web/next.config.js
+++ b/web/next.config.js
@@ -59,6 +59,9 @@ module.exports = async phase => {
productionBrowserSourceMaps: process.env.SOURCE_MAPS === 'true',
trailingSlash: true,
reactStrictMode: true,
+ eslint: {
+ ignoreDuringBuilds: true,
+ },
images: {
unoptimized: true,
},