Closed jboix closed 6 months ago
PR Preview Action v1.4.7 :---: Preview removed because the pull request was closed. 2024-02-20 15:56 UTC
St.:grey_question: |
Category | Percentage | Covered / Total |
---|---|---|---|
π’ | Statements | 98.39% | 490/498 |
π’ | Branches | 93.44% | 228/244 |
π’ | Functions | 100% | 135/135 |
π’ | Lines | 99.16% | 474/478 |
152 tests passing in 9 suites.
Report generated by π§ͺjest coverage report action from 83a94329a4b256323c5cff1ae91d9292c2ba696a
:tada: This PR is included in version 1.1.0 :tada:
The release is available on:
npm package (@main dist-tag)
Your semantic-release bot :package::rocket:
Description
Resolves #196 by introducing pull request previews using
rossjrw/pr-preview-action
. This new workflow enables us to review both visual and functional changes before merging.The preview functionality work in the following manner:
Triggering a Preview: Whenever a pull request is either opened, re-opened, or updated, the project undergoes a build process. The contents of the
dist
directory are copied underpr-preview/pr-${github.ref}
located in thegh-pages
branch.Cleaning Up: Once a pull request is closed, the corresponding preview folder (specific to the closed pull request) is deleted.
Changes made
JamesIves/github-pages-deploy-action
has been updated from version 3 to version 4. This update introduces the following configurations to this action:force: false
: This disables force push to the deployment branch.clean-exclude: pr-preview/
: This prevents the deletion of PR previews when the main branch is deployed.