summary refs log tree commit diff
path: root/.github/workflows
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2023-01-20 18:10:47 +1100
committerGitHub <noreply@github.com>2023-01-20 18:10:47 +1100
commit71082eb918f055f07fa45cd44c90fcb0c8dd6a29 (patch)
tree34fe911abebb5e954b1fd5de57d8ed00d7304121 /.github/workflows
parentfix: route file regex (#956) (diff)
downloadserver-ts-71082eb918f055f07fa45cd44c90fcb0c8dd6a29.tar.xz
Add ESLint (#941)
* Add eslint, switch to lint-staged for precommit

* Fix all ESLint errors

* Update GH workflow to check prettier and eslint
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml

index e3bcc81f..5b27fddf 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml
@@ -24,5 +24,7 @@ jobs: node-version: ${{ matrix.node-version }} cache: 'npm' - run: npm ci + - run: npx eslint . + - run: npx prettier --check . - run: npm run build --if-present - run: npm run test --if-present \ No newline at end of file