Feature/restrict ci apps web 436 #451
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR addresses @pierrelstan’s feedback on the previous PR for ticket #436 by updating the GitHub Actions workflow (
github-ci.yml) to use the correct pathapps/web/instead ofweb/, fixing theInstall dependenciesjob failure. Theon.pull_requestsection triggers CI only for changes inapps/web/**or.github/workflows/**. Thecypress-testsjob now runsyarn cy:componentas perapps/web/package.json. The build documentation (build-process-treetracker-wallet-app.md) reflects the updated path and script.Fixes: #436
Changes Made
Changes in
appsfolder:Web: Updated CI to trigger forapps/web/changes, withworking-directory: apps/webandyarn cy:componentfor tests.Native: No changes.Changes in
packagesfolder:Core: No changes.Other changes:
.github/workflows/github-ci.ymlwithpaths: ['apps/web/**', '.github/workflows/**']andworking-directory: apps/web.yarn cy:component.build-process-treetracker-wallet-app.mdforapps/web/andcy:component.Type of Change
web/path and Cypress script)build-process-treetracker-wallet-app.md)Screenshots
web/pathapps/web/No visual screenshots as changes are in CI and documentation.
How Has This Been Tested?
yarn install && yarn cy:componentinapps/web/locally to verify test execution.github-ci.ymlsyntax withyamllint.actto simulate PR workflow.apps/web/dummy.txt(CI triggers) andapps/native/(CI skips)..github/workflows/changes.Checklist:
github-ci.yml)Additional Comments
apps/web/andyarn cy:component.apps/web/PR post-merge to confirm CI skip.