Skip to content

Commit

Permalink
ci: lint workflow
Browse files Browse the repository at this point in the history
ref #165
  • Loading branch information
phette23 committed Feb 10, 2025
1 parent ed2b4f2 commit 2396b3b
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: 'CSS & JS Lint'

on:
push:
branches:
- 'main'
- 'dev'

jobs:
lint:
name: 'Lint'
runs-on: 'ubuntu-latest'
environment: 'staging'
steps:
# see package.json for specific arguments passed to linters
- name: 'JavaScript Lint'
run: npm run eslint
- name: 'SCSS Lint'
run: npx run sass-lint

0 comments on commit 2396b3b

Please sign in to comment.