Skip to content

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

Trying a new github workflow to install javascript packages

Gabe Kangas6db71001e5dc
diff --git a/.github/workflows/javascript-packages.yaml b/.github/workflows/javascript-packages.yaml
new file mode 100644
index 0000000000..79aa1c3e7c
--- /dev/null
+++ b/.github/workflows/javascript-packages.yaml
@@ -0,0 +1,26 @@
+name: javascript-packages
+on:
+ push:
+ paths:
+ - build/javascript/**
+
+jobs:
+ run:
+ name: npm run build
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout repo
+ uses: actions/checkout@v2
+
+ - name: Install dependencies
+ run: cd build/javascript && npm run build
+
+ - name: Commit changes
+ uses: EndBug/add-and-commit@v5
+ with:
+ author_name: Owncast
+ author_email: [email protected]
+ message: "Commit updated Javascript packages"
+ add: "build/javascript"
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}