cypress-io / cypress-io/github-action

Migrate to ESM

Open
#1,647 4 comments 0 reactions 0 assignees View on GitHub
type: enhancement
Dominant language
JavaScript
Stars
1.5k
Forks
353
Avg merge
1d 22h
Merged PRs (30d)
27

Description

## What would you like?

Migrate this repo from CommonJS to ESM, currently

https://github.com/cypress-io/github-action/blob/e0f7da8ca6019174b8b2a507657cd282c2e22023/package.json#L36

## Why is this needed?

Key dependencies in this repo have moved or will move to ESM, for example:

- GitHub Actions [toolkit `@actions/*`](https://github.com/actions/toolkit) modules ~~are expected to move~~ have moved to ESM ~~soon~~
- [got](https://www.npmjs.com/package/got) is locked at `11.8.6` because `got@>=12` is native ESM.
> Got v11 is no longer maintained and we will not accept any backport requests.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.