Skip to content

Commit 4e3ef49

Browse files
committed
add full workspace lint to pre-merge workflow
1 parent 3bfa8ea commit 4e3ef49

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/pre-merge.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,11 @@ jobs:
3030
- name: Check dependencies alignment
3131
run: yarn check-dependencies
3232

33-
- name: Run Lint
33+
- name: Run Workspace Lint
34+
run: yarn lint
35+
36+
- name: Run Website Specific Lints
37+
working-directory: website
3438
run: yarn ci:lint
3539

3640
build:

website/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"lint:markdown:links": "remark ../docs --quiet -r .remarkrc.withBrokenLinks.mjs",
3131
"language:lint": "cd ../ && alex",
3232
"language:lint:versioned": "cd ../ && alex .",
33-
"ci:lint": "yarn lint && yarn lint:examples && yarn language:lint:versioned && yarn lint:markdown:images && prettier --check src/**/*.scss",
33+
"ci:lint": "yarn lint:examples && yarn language:lint:versioned && yarn lint:markdown:images && prettier --check src/**/*.scss",
3434
"pwa:generate": "npx pwa-asset-generator ./static/img/header_logo.svg ./static/img/pwa --padding '40px' --background 'rgb(32, 35, 42)' --icon-only --opaque true",
3535
"update-redirects": "node ../scripts/src/update-redirects.ts"
3636
},

0 commit comments

Comments
 (0)