Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update workflow to use new ESM and NPM workspace structure #8

Open
heitorlessa opened this issue May 1, 2024 · 0 comments
Open

Update workflow to use new ESM and NPM workspace structure #8

heitorlessa opened this issue May 1, 2024 · 0 comments
Assignees

Comments

@heitorlessa
Copy link
Contributor

As of now, the monthly roadmap workflow uses the previous GH Script based solution:

const { default: main } = await import('${{ github.workspace }}/packages/reporting/src/index.mjs')

This issue tracks work to migrate to ESM and use this instead:

Need to follow Andrea's guidance on how to best install and call our code from Actions.

const github = new GitHub({token: PASS_TOKEN })
const report = MonthlyRoadmapReport({ github })

await report.create()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants