Skip to content

Commit

Permalink
ci: Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ciscorn committed Nov 24, 2024
1 parent 333e303 commit 91365fa
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 29 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Lint

on:
push:
branches:
- main
pull_request:

jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 22
cache: "pnpm"

- name: Install Dependencies
run: pnpm install

- name: Svelte Check
run: pnpm run check
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,8 @@
"@sveltejs/vite-plugin-svelte": "^4.0.1",
"@tailwindcss/typography": "^0.5.15",
"@types/eslint": "^9.6.1",
"@types/nprogress": "^0.2.3",
"autoprefixer": "^10.4.20",
"bits-ui": "1.0.0-next.60",
"bits-ui": "1.0.0-next.64",
"clsx": "^2.1.1",
"eslint": "^9.15.0",
"eslint-config-prettier": "^9.1.0",
Expand All @@ -61,7 +60,6 @@
"maplibre-gl": "5.0.0-pre.7",
"mdsvex": "^0.12.3",
"mode-watcher": "^0.5.0",
"nprogress": "^0.2.0",
"pmtiles": "^3.2.1",
"prettier": "^3.3.3",
"prettier-plugin-svelte": "^3.3.2",
Expand Down
36 changes: 10 additions & 26 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 91365fa

Please sign in to comment.