fix: rely entirely on nix packages
This commit is contained in:
parent
add5afb17c
commit
645faf398e
8
.github/workflows/lint.yml
vendored
8
.github/workflows/lint.yml
vendored
@ -28,14 +28,6 @@ jobs:
|
|||||||
purge-prefixes: nix-${{ runner.os }}-
|
purge-prefixes: nix-${{ runner.os }}-
|
||||||
purge-created: 0
|
purge-created: 0
|
||||||
purge-primary-key: never
|
purge-primary-key: never
|
||||||
paths: |
|
|
||||||
~/.cache/go-build
|
|
||||||
~/go/pkg/mod
|
|
||||||
~/.npm
|
|
||||||
|
|
||||||
- name: Install npm packages
|
|
||||||
working-directory: ./client
|
|
||||||
run: npm ci --legacy-peer-deps
|
|
||||||
|
|
||||||
- name: Lint
|
- name: Lint
|
||||||
run: nix develop --command ts-lint
|
run: nix develop --command ts-lint
|
@ -72,6 +72,9 @@
|
|||||||
|
|
||||||
# Svelte frontend
|
# Svelte frontend
|
||||||
nodejs_22
|
nodejs_22
|
||||||
|
eslint
|
||||||
|
nodePackages.svelte-check
|
||||||
|
nodePackages.prettier
|
||||||
|
|
||||||
# Helper scripts
|
# Helper scripts
|
||||||
(writeShellApplication {
|
(writeShellApplication {
|
||||||
@ -180,8 +183,9 @@
|
|||||||
|
|
||||||
cd "''${git_root}/client"
|
cd "''${git_root}/client"
|
||||||
echo "Linting client"
|
echo "Linting client"
|
||||||
npm run check
|
svelte-check --tsconfig ./tsconfig.json
|
||||||
npm run lint
|
prettier --check .
|
||||||
|
eslint .
|
||||||
|
|
||||||
cd "''${git_root}/server"
|
cd "''${git_root}/server"
|
||||||
echo "Linting server"
|
echo "Linting server"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user