Skip to content

Commit

Permalink
add svelte-check to github workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
claireolmstead committed Nov 27, 2024
1 parent 8b4374c commit a2ed627
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/svelte-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Svelte Check
on:
push:
branches: ['main', 'feat/svelte-app', '200-add-svelte-check-to-github-workflows---provider-dashboard']
pull_request:
branches: ['main', 'feat/svelte-app', '200-add-svelte-check-to-github-workflows---provider-dashboard']

jobs:
prettier:
name: Svelte Check

runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'

- name: Install Dependencies
run: npm ci

- name: Check svelte/ts with svelte-check
run: npm run check

0 comments on commit a2ed627

Please sign in to comment.