revert: use npm ci
This commit is contained in:
parent
124ddc20df
commit
bc0e8c55e3
4
.github/workflows/lint.yml
vendored
4
.github/workflows/lint.yml
vendored
@ -25,6 +25,10 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: trevstack
|
name: trevstack
|
||||||
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
||||||
|
|
||||||
|
- 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
|
@ -83,8 +83,6 @@
|
|||||||
|
|
||||||
# Svelte frontend
|
# Svelte frontend
|
||||||
nodejs_22
|
nodejs_22
|
||||||
eslint
|
|
||||||
nodePackages.prettier
|
|
||||||
|
|
||||||
# Helper scripts
|
# Helper scripts
|
||||||
(writeShellApplication {
|
(writeShellApplication {
|
||||||
@ -193,8 +191,8 @@
|
|||||||
|
|
||||||
cd "''${git_root}/client"
|
cd "''${git_root}/client"
|
||||||
echo "Linting client"
|
echo "Linting client"
|
||||||
prettier --check .
|
npm run check
|
||||||
eslint .
|
npm run lint
|
||||||
|
|
||||||
cd "''${git_root}/server"
|
cd "''${git_root}/server"
|
||||||
echo "Linting server"
|
echo "Linting server"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user