mirror of
https://github.com/owncast/owncast.git
synced 2024-10-10 19:16:02 +00:00
Set working directory of linter
This commit is contained in:
parent
100b43dd3a
commit
6b45715724
9
.github/workflows/javascript-formatting.yml
vendored
9
.github/workflows/javascript-formatting.yml
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user