0
0
mirror of https://github.com/sp-tarkov/server.git synced 2025-02-13 08:10:44 -05:00

5 Commits

Author SHA1 Message Date
ff85ff7f79 Update CI 2025-01-13 10:36:07 +01:00
dcbb5c1d5f
Fix CI (#1056)
- Removes a test for a class that was removed
- Changes the command for type checking from `lint:types` to
`type-check`

---------

Co-authored-by: Chomp <27521899+chompDev@users.noreply.github.com>
2025-01-09 20:25:53 +00:00
4afc2f5c96
Development Strict Mode (#1006)
- Enables TS strict mode
- Adds script to check types
- Adds workflow to run check-type script
- Updates the code-checking workflows to share the same set-up job

This updates the `tsconfig.json` option to enable strict mode.
*However*, we use TSX for development and SWC for release, which do not
type-check, so this option only gives additional linting/visual-feedback
in VSCode.

Additionally, I've added a NPM script `npm run lint:types` and a GitHub
workflow that runs it.

**This depends on #1005.**

---------

Co-authored-by: Chomp <27521899+chompDev@users.noreply.github.com>
2024-12-30 09:13:15 +00:00
6c9e4fd0bb
Custom LFS Sever (#970)
We've created our own Git Large File Storage (LFS) server due to the
excessive cost of GitHub's bandwidth. Did you know all of their Ethernet
cables are actually gold coated diamonds?

This PR reverses the work done in #954 to compress large location JSON
files into a 7zip archive and handle the (de)compression of the archive.

Only JSON files within the `project/assets/database/` directory that are
larger than 5MB have been included in LFS. This translates to all of the
`looseLoot.json` files. The rest are small enough to be included in the
base repo.

A `.lfsconfig` file has been added to the root of the project to alert
git to the presence of the custom LFS server. This public server is
read-only. Write access is only available to developers within the
Single Player Tarkov GitHub organization.

<img
src="https://github.com/user-attachments/assets/7ddfec9b-5a9a-42e6-806d-fd419e4eaa4f"
width="250">
2024-12-06 13:56:05 +00:00
31079e4ebf
Github Migration - Workflows & Issue Template
- Replaces the Gitea workflows with Github workflows.
- Adds a Github issue template.

(The reason this is being done directly on master is because it's the branch that the issue templates load from.)
2024-11-24 22:58:59 -05:00