diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index bc947f8..e10c4ea 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -18,20 +18,20 @@ jobs: services: test-server: - image: ghcr.io/tf2pickup-org/tf2-gameserver:latest - ports: - - 27015:27015/tcp - - 27015:27015/udp - - 27020:27020/udp - env: - SERVER_HOSTNAME: 'test rcon server' - PORT: 27015 - CLIENT_PORT: 27016 - STEAM_PORT: 27017 - STV_PORT: 27020 - RCON_PASSWORD: 'password' - options: --tty --add-host host.docker.internal:host-gateway - + image: ghcr.io/tf2pickup-org/tf2-gameserver:latest + ports: + - 27015:27015/tcp + - 27015:27015/udp + - 27020:27020/udp + env: + SERVER_HOSTNAME: "test rcon server" + PORT: 27015 + CLIENT_PORT: 27016 + STEAM_PORT: 27017 + STV_PORT: 27020 + RCON_PASSWORD: "password" + options: --tty --add-host host.docker.internal:host-gateway + steps: - uses: actions/checkout@v4 diff --git a/.gitignore b/.gitignore index 346a7da..941fcf1 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1 @@ -.vscode deno.lock \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..c58fe3a --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,10 @@ +{ + "deno.enable": true, + "deno.lint": true, + "[typescript]": { + "editor.defaultFormatter": "denoland.vscode-deno" + }, + "[json]": { + "editor.defaultFormatter": "denoland.vscode-deno" + } +} diff --git a/deno.json b/deno.json index 202b56c..8526e7c 100644 --- a/deno.json +++ b/deno.json @@ -5,8 +5,8 @@ }, "imports": { "@std/bytes": "jsr:@std/bytes@^1.0.6", - "@std/cli": "jsr:@std/cli@^1.0.22", - "@std/async": "jsr:@std/async@^1.0.14" + "@std/cli": "jsr:@std/cli@^1.0.23", + "@std/async": "jsr:@std/async@^1.0.15" }, "version": "0.0.7", "exports": "./mod.ts", diff --git a/docker-compose.yml b/docker-compose.yml index 964a00c..229f489 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -8,8 +8,6 @@ services: - "STEAM_PORT=27017" - "STV_PORT=27020" - "RCON_PASSWORD=password" - ports: - - 27015:27015 network_mode: host stdin_open: true tty: true