File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2727 php : ${{ steps.filter.outputs.php }}
2828 js : ${{ steps.filter.outputs.js }}
2929 client : ${{ steps.filter.outputs.client }}
30+ cypress : ${{ steps.filter.outputs.cypress }}
3031 api : ${{ steps.filter.outputs.api }}
3132 md : ${{ steps.filter.outputs.md }}
3233 steps :
4546 client:
4647 - 'client/**'
4748 - '!**/*.md'
49+ cypress:
50+ - 'cypress/**'
51+ - '!**/*.md'
4852 api:
4953 - 'backend/**'
5054 - '!**/*.md'
@@ -157,6 +161,23 @@ jobs:
157161 - uses : mesh-research/github-actions/build-image@v2
158162 with :
159163 target : " web-lint-ci"
164+ lint-cypress :
165+ name : Cypress Lint
166+ runs-on : ubuntu-24.04
167+ needs : [changes]
168+ if : ${{ needs.changes.outputs.cypress == 'true' }}
169+ steps :
170+ - name : Checkout Code
171+ uses : actions/checkout@v4
172+ - uses : actions/setup-node@v4
173+ with :
174+ node-version : 22
175+ cache : yarn
176+ cache-dependency-path : cypress/yarn.lock
177+ - name : Install dependencies
178+ run : cd cypress && yarn install
179+ - name : Lint
180+ run : cd cypress && yarn lint
160181 docs-build :
161182 name : Docs Build
162183 runs-on : ubuntu-24.04
Original file line number Diff line number Diff line change 88 image : " cypress/base:18.16.1"
99 environment :
1010 ELECTRON_EXTRA_LAUNCH_ARGS : " --force-prefers-reduced-motion"
11+ NODE_TLS_REJECT_UNAUTHORIZED : " 0"
1112 build :
12- - cd /app/cypress && yarn
13+ - yarn config set strict-ssl false -g && cd /app/cypress && yarn --ignore-engines
1314 tooling :
1415 cypress :
1516 service : cypress
Original file line number Diff line number Diff line change 2222 "prettier" : " 3"
2323 },
2424 "engines" : {
25- "node" : " ^22.0.0 || ^20.0.0"
25+ "node" : " ^22.0.0 || ^20.0.0 || ^18.0.0 "
2626 }
2727}
You can’t perform that action at this time.
0 commit comments