Skip to content

some cache-control #303

some cache-control

some cache-control #303

Workflow file for this run

name: Run Tests
on: [push, pull_request, workflow_dispatch]
jobs:
test:
defaults:
run:
shell: bash
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Start MongoDB
uses: supercharge/[email protected]
with:
mongodb-db: unciv
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Lint TypeScript
run: bun lint
- name: Run tests
run: |
HOST=:: \
SYNC_TOKEN=$(openssl rand -base64 32) \
DISCORD_TOKEN=$(openssl rand -base64 32) \
MONGO_URL=mongodb://localhost:27017/unciv \
bun test