kiegroup / act-js

A node.js wrapper for nektos/act to programmatically run your github actions locally
Apache License 2.0
53 stars 8 forks source link

Node 20 Support Missing Due to Outdated act Version Installed by act-js #78

Closed Ga13Ou closed 2 months ago

Ga13Ou commented 2 months ago

Describe the bug

act-js installs act version 0.2.48 which lacks support for Node 20, despite act having added Node 20 support in version 0.2.55. This discrepancy leads to failures when trying to run workflows with the latest versions of GitHub Actions designed for Node 20

To Reproduce

  1. Install act-js
  2. Check act version

OR

  1. Install act-js
  2. Try to run a workflow containing a github action that uses node20

Expected behavior Installing latest act version and workflow runs as expected

Logs

Error: The runs.using key in action.yml must be one of: [composite docker node12 node16], got node20

Additional context act's fixed issue

shubhbapna commented 2 months ago

fixed by #79 thank you for your contribution!

Ga13Ou commented 2 months ago

@shubhbapna Thank you for the quick review and merge!