Skip to content

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

Run workflows on PRs + Perform test build

Gabe Kangas1e9dabd40960
diff --git a/.github/workflows/chromatic.yml b/.github/workflows/chromatic.yml
index 5fc8f4f82c..8c49add8b4 100644
--- a/.github/workflows/chromatic.yml
+++ b/.github/workflows/chromatic.yml
@@ -7,6 +7,9 @@ on:
push:
paths:
- web/**
+ pull_request:
+ paths:
+ - web/**
# List of jobs
jobs:
diff --git a/.github/workflows/javascript-formatting.yml b/.github/workflows/javascript-formatting.yml
index 40d4ac5554..593eadbcb5 100644
--- a/.github/workflows/javascript-formatting.yml
+++ b/.github/workflows/javascript-formatting.yml
@@ -5,6 +5,9 @@ on:
push:
paths:
- web/**
+ pull_request:
+ paths:
+ - web/**
jobs:
prettier:
diff --git a/.github/workflows/test-webapp-build.yaml b/.github/workflows/test-webapp-build.yaml
new file mode 100644
index 0000000000..393c06e43f
--- /dev/null
+++ b/.github/workflows/test-webapp-build.yaml
@@ -0,0 +1,28 @@
+name: Webapp Test Build
+
+# This action works with pull requests and pushes
+on:
+ push:
+ paths:
+ - web/**
+ pull_request:
+ paths:
+ - web/**
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ defaults:
+ run:
+ working-directory: ./web
+
+ name: Build webapp
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v3
+
+ - name: Install Dependencies
+ run: npm install
+
+ - name: Build
+ run: npm run build