Compare commits

..

6 Commits

Author SHA1 Message Date
c8eac1ac42 fix(ci): upgrade node to v22 and update docs to reflect vitest usage (#55)
All checks were successful
Test / Run Tests (push) Successful in 2m14s
Lint / pre-commit Linting (push) Successful in 2m28s
Reviewed-on: #55
2025-12-28 06:05:40 +01:00
48f7596789 Merge branch 'main' into add-testing
Some checks failed
Lint / pre-commit Linting (push) Successful in 1m33s
Test / Run Tests (push) Failing after 2m5s
2025-12-28 05:24:28 +01:00
ae87ee6e35 feat: add coverage support for testing and update .gitignore
Some checks failed
Lint / pre-commit Linting (push) Successful in 1m16s
Test / Run Tests (push) Failing after 8m3s
2025-12-27 21:31:19 +00:00
6ff8731e50 chore: remove cached Prettier files from .gitignore
Some checks failed
Lint / pre-commit Linting (push) Successful in 1m12s
Test / Run Tests (push) Failing after 1m41s
2025-12-27 18:57:46 +00:00
b7136de5e2 Merge remote-tracking branch 'origin/main' into add-testing
Some checks failed
Lint / pre-commit Linting (push) Successful in 1m26s
Test / Run Tests (push) Failing after 1m48s
2025-12-27 18:54:57 +00:00
a2b753417a Add testing script and vitest as a dev dependency in package.json
Some checks failed
Lint / pre-commit Linting (push) Successful in 1m52s
Test / Run Tests (push) Failing after 8m40s
2025-12-23 16:42:07 +01:00
8 changed files with 55153 additions and 49265 deletions

View File

@@ -20,8 +20,7 @@
], ],
"settings": { "settings": {
"editor.formatOnSave": true, "editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode", "editor.defaultFormatter": "esbenp.prettier-vscode"
"files.eol": "\n"
} }
} }
}, },

View File

@@ -5,7 +5,7 @@ git config --global --add safe.directory $(pwd)
# In your setup.sh or postCreateCommand # In your setup.sh or postCreateCommand
sudo chown -R node:node /home/node/.cache/ sudo chown -R node:node /home/node/.cache/
sudo chown -R node:node /workspaces/screeps-deploy-action/.git/hooks
# 2. Re-connect Git Hooks # 2. Re-connect Git Hooks
pre-commit install pre-commit install
pre-commit install-hooks pre-commit install-hooks

View File

@@ -1,8 +0,0 @@
root = true
[*]
end_of_line = lf
insert_final_newline = true
charset = utf-8
indent_style = space
indent_size = 2

1
.gitattributes vendored
View File

@@ -1 +0,0 @@
* text=auto eol=lf

1
.gitignore vendored
View File

@@ -1075,5 +1075,4 @@ FodyWeavers.xsd
*.vsix *.vsix
/node_modules/ /node_modules/
/node_modules/.cache/
/coverage/ /coverage/

45313
dist/index.js vendored

File diff suppressed because one or more lines are too long

860
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -9,8 +9,8 @@
"build": "ncc build index.js -o dist --external utf-8-validate --external bufferutil" "build": "ncc build index.js -o dist --external utf-8-validate --external bufferutil"
}, },
"dependencies": { "dependencies": {
"@actions/core": "^2.0.0", "@actions/core": "^1.11.1",
"glob": "^13.0.0", "glob": "^11.0.1",
"screeps-api": "^1.7.2" "screeps-api": "^1.7.2"
}, },
"devDependencies": { "devDependencies": {