~/talk

Front End Testing with GitHub Actions

Talkat NDC Sydney 2024 · 2024-02-12..02-16· [testing, devops-and-delivery]
slides:none on file

Shows how to use GitHub Actions to build a deploy-preview pipeline: checkout, setup Node, run npm build, deploy to Netlify via a custom shell script that captures the preview URL and adds it as a PR comment, base64-encode the URL to avoid GitHub masking, then run Lighthouse and Playwright against that live URL, upload HTML/artifact reports, and gate a separate production workflow that deploys when the PR is merged. Includes base64-encode twice workaround and artifacts retention.

AI-written summary · about

  1. 0:00Introduction to testing
  2. 3:24Why GitHub actions
  3. 5:38Workflow basics
  4. 10:13Configuring the workflow
  5. 14:10Build and deploy preview
  6. 17:44PR feedback and secrets
  7. 20:49Testing with live URLs
  8. 23:45Lighthouse performance
  9. 27:57Playwright end-to-end
  10. 31:40Production deployment
  11. 34:54Advanced automations
  12. 40:12Q&A and conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.