Radish alpha
r
Radicle web interface
Radicle
Git (anonymous pull)
Log in to clone via SSH
Join check and check-format scripts into one
Sebastian Martinez committed 3 years ago
commit e8325294fa212de7ec0008a0a3905b7002a7ad20
parent a552bb75a478a32ea766657e183ac76d27c3f52f
3 files changed +2 -26
deleted .github/workflows/check-format.yml
@@ -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
modified 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
deleted scripts/check-format
@@ -1,5 +0,0 @@
-
#!/bin/bash
-
set -euo pipefail
-

-
npx eslint .
-
npx prettier "**/*.@(ts|js|svelte|json|css|html|yml)" --ignore-path .gitignore --check