Skip to content

Commit b5c04fb

Browse files
committed
SWSWEB | fixup lint workflow
1 parent d666de5 commit b5c04fb

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/build_lint.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,12 @@ jobs:
1212
uses: actions/setup-node@v4
1313
with:
1414
node-version-file: '.nvmrc'
15+
- name: Enable Corepack
16+
run: corepack enable
1517
- uses: bahmutov/npm-install@v1
1618
with:
1719
useLockFile: false
1820
- name: Lint
19-
run: npm run lint
21+
run: yarn lint
2022
- name: Typecheck
21-
run: npm run tsc
23+
run: yarn tsc

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"build": "next build",
88
"start": "next start",
99
"lint": "eslint .",
10-
"lint:fix": "eslint . --fix"
10+
"lint:fix": "eslint . --fix",
11+
"tsc": "tsc --noEmit"
1112
},
1213
"dependencies": {
1314
"@heroicons/react": "^2.2.0",

0 commit comments

Comments
 (0)