Skip to content

Commit

Permalink
chore: add the lint workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
razonyang committed Dec 14, 2023
1 parent 91e45ae commit 850b293
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
15 changes: 15 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: lint

on:
push:

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- uses: actions/setup-node@v4
with:
node-version: 16
- run: npm ci
- run: npm run lint
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"ts-standard": "^12.0.2"
},
"scripts": {
"lint": "npm run eslint && npm run stylelint",
"lint": "npm run stylelint",
"eslint": "ts-standard",
"stylelint": "npx stylelint \"**/*.scss\""
}
Expand Down

0 comments on commit 850b293

Please sign in to comment.