Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into homepage
Browse files Browse the repository at this point in the history
# Conflicts:
#	src/routes/+page.svelte
  • Loading branch information
maalni committed Jan 16, 2024
2 parents 63098bd + 67a9885 commit f097271
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/check-code-quality.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: check-code-quality
run-name: Check code quality
on: [pull_request]
jobs:
check-typescript:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: lts/Iron
- run: npm install -g pnpm
- run: pnpm install
- run: pnpm tsc
check-prettier:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: lts/Iron
- run: npm install -g pnpm
- run: pnpm install
- run: pnpm run lint
1 change: 1 addition & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"singleQuote": true,
"trailingComma": "none",
"printWidth": 100,
"endOfLine": "lf",
"plugins": ["prettier-plugin-svelte"],
"overrides": [{ "files": "*.svelte", "options": { "parser": "svelte" } }]
}

0 comments on commit f097271

Please sign in to comment.