SRGSSR / pillarbox-web

Pillarbox is a versatile media playback ecosystem engineered for the web.
https://srgssr.github.io/pillarbox-web-demo/
MIT License
11 stars 1 forks source link

ci: add pull request previews #213

Closed jboix closed 6 months ago

jboix commented 6 months ago

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:

  1. 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 under pr-preview/pr-${github.ref} located in the gh-pages branch.

  2. Cleaning Up: Once a pull request is closed, the corresponding preview folder (specific to the closed pull request) is deleted.

Changes made

github-actions[bot] commented 6 months ago

PR Preview Action v1.4.7 :---: Preview removed because the pull request was closed. 2024-02-20 15:56 UTC

github-actions[bot] commented 6 months ago

Coverage report

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

Test suite run success

152 tests passing in 9 suites.

Report generated by πŸ§ͺjest coverage report action from 83a94329a4b256323c5cff1ae91d9292c2ba696a

github-actions[bot] commented 6 months ago

:tada: This PR is included in version 1.1.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: