File tree Expand file tree Collapse file tree 2 files changed +38
-1
lines changed Expand file tree Collapse file tree 2 files changed +38
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Lint
2+
3+ on :
4+ push :
5+ branches : [ main ]
6+ pull_request :
7+ branches : [ main ]
8+
9+ # Explicitly declare permissions (security best practice)
10+ permissions :
11+ contents : read
12+ pull-requests : read
13+
14+ # Prevent multiple workflow runs from racing
15+ concurrency :
16+ group : ${{ github.workflow }}-${{ github.ref }}
17+ cancel-in-progress : true
18+
19+ jobs :
20+ lint :
21+ runs-on : ubuntu-latest
22+ steps :
23+ - uses : actions/checkout@v4
24+
25+ - name : Setup Node.js
26+ uses : actions/setup-node@v4
27+ with :
28+ node-version : ' 18'
29+ cache : ' npm'
30+
31+ - name : Install dependencies
32+ run : npm ci
33+ continue-on-error : false
34+
35+ - name : Run ESLint
36+ run : npm run lint
37+ continue-on-error : false
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ import { clsx } from 'clsx';
99
1010const COMPONENT_NAME = 'Text' ;
1111
12- const TAGS = [ 'div' , 'span' , 'p' , 'label' ]
12+ const TAGS = [ 'div' , 'span' , 'p' , 'label' ] ;
1313
1414export type TextProps = {
1515 children : React . ReactNode ;
You can’t perform that action at this time.
0 commit comments