film centenary board game
Translated from Chinese by Claude Β· original on GitHub β
film centenary board game
Translated from Chinese by Claude Β· original on GitHub β
// readme
Web version of a board game implemented with the boardgame.io framework
First install dependencies. Requires Node 20.19 or above (vite 8 requires ^20.19 or >=22.12; the Docker image uses node 22)
yarn install
Open the local version (remote multiplayer is unavailable; /local4p, /local, /localVQ, /localIE can be used for testing)
yarn start
Start the version with remote multiplayer
yarn serve
CI is split into two workflows:
.github/workflows/ci.yml: unit tests, type checking, production build, and Playwright E2E,
runs on master and on feature/**, fix/**, refactor/**, test/** branches
(also triggered by pull requests targeting master). E2E runs in two steps: yarn test:e2e runs the default suite
(Vite dev server), and yarn test:e2e:ie runs three IE suites that require a production build.
.github/workflows/release.yml: only master builds and pushes three images:
ghcr.io/larry801/film-centenary: application image (used by docker-compose.yml)ghcr.io/larry801/film-centenary-base: runtimeβ¦