Skip to content

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

Set working directory of linter

Gabe Kangas6c3944ecf571
diff --git a/.github/workflows/javascript-formatting.yml b/.github/workflows/javascript-formatting.yml
index ac6e93dd2c..3587ee18ad 100644
--- a/.github/workflows/javascript-formatting.yml
+++ b/.github/workflows/javascript-formatting.yml
@@ -9,6 +9,10 @@ on:
jobs:
prettier:
runs-on: ubuntu-latest
+ defaults:
+ run:
+ working-directory: ./web
+
if: ${{ github.actor != 'dependabot[bot]' }}
steps:
@@ -30,13 +34,16 @@ jobs:
linter:
runs-on: ubuntu-latest
+ defaults:
+ run:
+ working-directory: ./web
name: Run linter on changed files
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install Dependencies
- run: cd web && npm install
+ run: npm install
- name: Lint
run: npm run lint