midorimici / fairy-chess-online

Fairy chess online is a web app to play or watch fairy chess games with others.
0 stars 0 forks source link

Create `.env` file in CI build #14

Closed midorimici closed 2 years ago

midorimici commented 2 years ago

What?

The build command in CI now uses .env file to load environment variables.

Why?

yarn build fails if some environment variable cannot be found.

How?

Set the repo secret of environment variables and call it in ci.yml.

codeclimate[bot] commented 2 years ago

Code Climate has analyzed commit ed560b4c and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (50% is the threshold).

This pull request will bring the total coverage in the repository to 100.0% (0.0% change).

View more on Code Climate.