setup-cpp/CONTRIBUTING.md

16 lines
527 B
Markdown
Raw Normal View History

2022-03-12 09:48:28 +08:00
# Contributing
You will need [`pnpm`](https://pnpm.io/installation) to build and test `setup-cpp`:
```shell
pnpm install
```
2023-07-25 06:28:48 +08:00
To avoid permenant changes to your system, you can use the test docker images under `./dev/docker/__tests__`.
2022-03-12 09:48:28 +08:00
Before running the tests locally, backup your environment variables because faulty code might corrupt the environment.
<https://stackoverflow.com/a/5147185/7910299>
Install [container-structure-test](https://github.com/GoogleContainerTools/container-structure-test) for docker testing.