Skip to content

Commit

Permalink
use npm ci
Browse files Browse the repository at this point in the history
  • Loading branch information
kluvin committed Nov 6, 2024
1 parent 49fd932 commit dade737
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ jobs:
with:
node-version: "22"

- name: get prettier prettier-plugin-svelte
run: npm i --save-dev prettier-plugin-svelte prettier
- name: get deps
run: npm ci prettier-plugin-svelte

- name: Check code style
- name: Lint
run: npx prettier --check .
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
"lint": "prettier --check . && eslint .",
"format": "npx prettier --write .",
"check:format": "npx prettier --check ."
"format": "prettier --write .",
"check:format": "prettier --check ."
},
"devDependencies": {
"@sveltejs/adapter-auto": "^3.0.0",
Expand All @@ -21,7 +21,7 @@
"@types/eslint": "^9.6.0",
"autoprefixer": "^10.4.20",
"daisyui": "^4.12.13",
"eslint": "^9.0.0",
"eslint": "^9.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-svelte": "^2.36.0",
"globals": "^15.0.0",
Expand Down

0 comments on commit dade737

Please sign in to comment.