How to setup a CI/CD pipeline using Github Actions by running automated jest unit tests

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ก.พ. 2025

ความคิดเห็น • 36

  • @arno.claude
    @arno.claude 2 ปีที่แล้ว +6

    Never knew it was that easy! Thank you ver much, more videos of that nature please!

  • @bulelanibotman
    @bulelanibotman ปีที่แล้ว

    jesus, cody! why are you such a great teacher?

  • @MrPaulPhan
    @MrPaulPhan 2 ปีที่แล้ว +3

    Keep doing what you’re doing

  • @butwhothehellknows
    @butwhothehellknows 2 ปีที่แล้ว +6

    Good job babe!!!!

  • @jeff-creations
    @jeff-creations 6 หลายเดือนก่อน

    Great video Cody, thanks! I learned a bunch

  • @arif3012
    @arif3012 ปีที่แล้ว

    Thanks for sharing such a simple example. 👍

  • @bimalsharma6248
    @bimalsharma6248 5 หลายเดือนก่อน

    Great stuff !!

  • @talaman6371
    @talaman6371 4 วันที่ผ่านมา

    new job requires it, lifesaver

  • @lamargtv2572
    @lamargtv2572 2 ปีที่แล้ว +1

    Great video. Keep it upp!

  • @27sosite73
    @27sosite73 ปีที่แล้ว

    thank you!

  • @09487abc
    @09487abc 10 หลายเดือนก่อน

    謝謝你的教學

  • @ujangaripin7630
    @ujangaripin7630 4 หลายเดือนก่อน

    thx it's help me

  • @yousafwazir3167
    @yousafwazir3167 2 ปีที่แล้ว

    Thanks can you do more production based ideas / practices

  • @aislanarislou
    @aislanarislou 2 ปีที่แล้ว +2

    What your script "yarn ci" does ??

  • @aislanarislou
    @aislanarislou 2 ปีที่แล้ว +2

    One more question: how to define environment vars that are used by some of the code, and sometimes the tests itself ?

    • @WebDevCody
      @WebDevCody  2 ปีที่แล้ว

      You can add them to your GitHub repo and pull them in with your actions

  • @ZEMMOURI_Med
    @ZEMMOURI_Med 2 ปีที่แล้ว +1

    Thanks, what color theme in VS Code do you use, please?

  • @jlo3349
    @jlo3349 ปีที่แล้ว

    Thanks! Very clear! A side question - I noticed your vs code theme is customised (has nice colours and icons next to the files) - any links you can refer for setting up my vs code please?

    • @WebDevCody
      @WebDevCody  ปีที่แล้ว

      This theme is material community I think

  • @romimaximus
    @romimaximus 2 ปีที่แล้ว

    Thankx for sharing this great content !! ...but could you make a short video tutorial, explaining what's the difference between "Github Actions Automatically Deploy" and a "Pipeline" ? cause im a beginner in CI/CD... and this so confusing to me ... 😂😂

    • @WebDevCody
      @WebDevCody  2 ปีที่แล้ว +1

      a pipeline is just a series of steps you run to get your code build, tested, and deployed. What I showed in this video was how to build a single step in a potentially larger pipeline (no talked about in this video). So if I were to add a deploy step which only runs after the tests pass, it would be more of a pipeline.

    • @romimaximus
      @romimaximus 2 ปีที่แล้ว

      @@WebDevCody Ok, go it !! thank you very much !! ..i really appreciate .. 😁👍

  • @_emnljrz
    @_emnljrz 2 ปีที่แล้ว +4

    Thanks! But perhaps you can use dark mode (dark reader) plugins in your chrome? Nevertheless great work

  • @vishuhanda1837
    @vishuhanda1837 ปีที่แล้ว

    do you execute unit tests on github actions on a browser or they are getting executed in head less mode

  • @parrapaTh3Rappa
    @parrapaTh3Rappa 2 ปีที่แล้ว +2

    File > Preferences > Settings > Features (on the left side bar) > Explorer (within the "Features" section) > Untick “compact folders”
    That is all 😂

  • @sogzful
    @sogzful 2 ปีที่แล้ว

    can splitting the tests into too many folders affect the speed? mine take forever

  • @ucol2068
    @ucol2068 11 หลายเดือนก่อน

    Hi, tried doing same .github\workflow you did but i get an error.

  • @philcajurao
    @philcajurao 2 ปีที่แล้ว

    Can you check my Classroom React?

    • @WebDevCody
      @WebDevCody  2 ปีที่แล้ว

      Your what?

    • @philcajurao
      @philcajurao 2 ปีที่แล้ว

      I am making a Classroom App for my thesis and it is made from React

    • @Rust_Rust_Rust
      @Rust_Rust_Rust 2 ปีที่แล้ว

      @@philcajurao for a thesis? Is this an undergraduate degree?

  • @yousafwazir3167
    @yousafwazir3167 2 ปีที่แล้ว

    Thanks can you do more production based ideas / practices

  • @yousafwazir3167
    @yousafwazir3167 2 ปีที่แล้ว +9

    Thanks can you do more production based ideas / practices