diff --git a/.github/workflows/check-format.yml b/.github/workflows/check-format.yml deleted file mode 100644 index 9b0d29f32..000000000 --- a/.github/workflows/check-format.yml +++ /dev/null @@ -1,21 +0,0 @@ -name: check-format -on: - push: - branches: - - master - pull_request: - branches: - - master - -jobs: - check-format: - runs-on: ubuntu-latest - steps: - - name: Setup Node - uses: actions/setup-node@v3 - with: - node-version: "18.15.0" - - uses: actions/checkout@v3 - - run: npm ci - - run: ./scripts/check-format - shell: bash diff --git a/scripts/check b/scripts/check index d32c09844..98a6c6cc3 100755 --- a/scripts/check +++ b/scripts/check @@ -3,3 +3,5 @@ set -e npx tsc --noEmit npx svelte-check --tsconfig tsconfig.json +npx eslint . +npx prettier "**/*.@(ts|js|svelte|json|css|html|yml)" --ignore-path .gitignore --check diff --git a/scripts/check-format b/scripts/check-format deleted file mode 100755 index 9faa92788..000000000 --- a/scripts/check-format +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash -set -euo pipefail - -npx eslint . -npx prettier "**/*.@(ts|js|svelte|json|css|html|yml)" --ignore-path .gitignore --check