Skip to content

Tips and Hints

Chandni Patel edited this page May 28, 2024 · 5 revisions

Node 20

  1. Update your local Node version to Node 20.
  2. Update action.yml node20 and point to the new node version

Test GitHub Action with custom version

  1. In your own fork, build the branch with npm install and npm run build
  2. Add the built artifacts ./node_modules/ and ./lib/ into a new commit git add .
  3. Push the artifacts to your remote branch git push <remote> <branch>
  4. In function app GitHub repo. Create a workflow, uses: <your_name_space>/functions-action@<branch_name>
  5. Wait for the CI to finish

Test E2E locally

One pointer to do this is to use the act container. I haven't tried this out locally but it has a very good reputation of maintenance. Making the E2E to run in our CI will give us an extra layer of safety net.

Clone this wiki locally