Spaces:
Sleeping
Sleeping
Download .github/workflows/ci.yml from WorstCardGame/worst-card-game: direct link, hf CLI and curl.
- Browser
- Download file 473 Bytes
-
https://huggingface.co/spaces/WorstCardGame/worst-card-game/resolve/main/.github/workflows/ci.yml
- Command line
-
hf download hf://spaces/WorstCardGame/worst-card-game/.github/workflows/ci.yml
-
curl -L -o ci.yml https://huggingface.co/spaces/WorstCardGame/worst-card-game/resolve/main/.github/workflows/ci.yml
473 Bytes
| name: CI | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| build-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: "20" | |
| cache: "npm" | |
| - run: npm ci | |
| # battle-core 先編譯(server/web 透過 dist 取用),再型別檢查 + 全測試(含 09 黃金測試) | |
| - run: npm run build -w @wcg/battle-core | |
| - run: npm run typecheck | |
| - run: npm test | |