Skip to content

Commit edca38a

Browse files
committed
Use lint workflow.
1 parent 67b91e4 commit edca38a

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/build-and-test.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,15 @@ jobs:
3131
name: Codespell
3232
uses: Lombiq/GitHub-Actions/.github/workflows/codespell.yml@dev
3333

34+
lint:
35+
name: Lint Script and Style
36+
uses: Lombiq/NodeJs-Extensions/.github/workflows/lint.yml@issue/OCC-314
37+
with:
38+
script-paths: src/Modules/OrchardCore.Commerce,/src/Modules/OrchardCore.Commerce.ContentFields,src/Modules/OrchardCore.Commerce.Payment.Stripe
39+
style-css-paths: src/Modules/OrchardCore.Commerce,src/Modules/OrchardCore.Commerce.Payment
40+
3441
post-pull-request-checks-automation:
35-
needs: [build-and-test-linux, build-and-test-windows, codespell]
42+
needs: [build-and-test-linux, build-and-test-windows, codespell, lint]
3643
if: github.event.pull_request != ''
3744
uses: Lombiq/GitHub-Actions/.github/workflows/post-pull-request-checks-automation.yml@dev
3845
secrets:

0 commit comments

Comments
 (0)