Skip to content

cross-platform test setup and ci without yarn#303

Open
mooncitydev wants to merge 1 commit intobyteball:masterfrom
mooncitydev:cross-platform-tests-and-ci
Open

cross-platform test setup and ci without yarn#303
mooncitydev wants to merge 1 commit intobyteball:masterfrom
mooncitydev:cross-platform-tests-and-ci

Conversation

@mooncitydev
Copy link
Copy Markdown

summary

Several tests wiped and copied fixture dirs with rm -rf and cp -r, which breaks on Windows (and any environment without Unix shell). This adds a tiny helper using fs.rmSync / fs.cpSync so the same setup runs on Linux, macOS, and Windows.

The npm test script no longer shells out to yarn, so contributors only need Node and npm. CircleCI is switched to npm install / npm test for the same reason.

GitHub Actions runs the suite on Ubuntu against Node 18 and 20 so regressions are caught on PRs and pushes to master / main.

Contribution prepared by mooncitydev.

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

Successfully merging this pull request may close these issues.

1 participant