mirror of
https://github.com/GoodStartLabs/AI_Diplomacy.git
synced 2026-04-19 12:58:09 +00:00
28 lines
498 B
YAML
28 lines
498 B
YAML
name: Run Tests
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Setup Node.js
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: "18"
|
|
cache: "npm"
|
|
|
|
- name: Install dependencies
|
|
run: npm ci
|
|
|
|
- name: Run TypeScript check
|
|
run: npx tsc --noEmit
|
|
|
|
- name: Run tests
|
|
run: npm test -- --run
|
|
|
|
- name: Build project
|
|
run: npm run build
|
|
|