Skip to content

Commit

Permalink
Add workflow file
Browse files Browse the repository at this point in the history
  • Loading branch information
mishig25 committed Sep 24, 2023
1 parent 46fc575 commit a9b3dee
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/lint-svelte-kit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: SvelteKit Lint
on:
pull_request:
push:
branches:
- main

jobs:
lint:
runs-on: ubuntu-latest
timeout-minutes: 10

steps:
- uses: actions/checkout@v3

- uses: actions/setup-node@v3
with:
node-version: "18"
cache: "npm"
- run: |
npm install ci
- name: "Checking lint/format errors"
run: |
npm run lint
- name: "Checking type errors"
run: |
npm run check

0 comments on commit a9b3dee

Please sign in to comment.