podkrepi-bg / api

Nest.js REST backend for charity platform Podkrepi.bg https://podkrepi.bg/swagger

Home Page:https://podkrepi.bg

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

upgrade Yarn to v4.0, Node to v20 and fix the docker image test

igoychev opened this issue · comments

Which area(s) of Podkrepi.bg are affected? (leave empty if unsure)

No response

Describe the feature you'd like to request

Two things to upgrade and one to fix:

  • Yarn 4.0 is out and will be great to upgrade
  • The frontend is updated to Node v20, so let's update in Docker image to v20 too
  • The github action that tests the docker images is building the master instead of the PR code, so it needs to be fixed to use the context from the git checkout in the previous step(see screenshot below)
Screenshot 2023-10-26 at 10 47 51

Describe the solution you'd like

The fix of the Docker checkout action is to add "context: ." as per the path context docs after this line here:

Describe alternatives you've considered

No response