2be5b2a1bc
chore: update @actions/core to v3 and migrate to ESM ( #73 )
...
Lint / pre-commit Linting (push) Successful in 36s
Test / Run Tests (push) Successful in 56s
This PR updates the `@actions/core` dependency from v2 to v3.0.0.
### Major Changes:
- **Dependency Update**: Updated `@actions/core` to `v3.0.0` in `package.json`.
- **ESM Migration**: Converted the entire project to ECMAScript Modules (ESM). This was necessary because `@actions/core` v3 is an ESM-only package and does not provide CommonJS exports.
- **`package.json` updates**: Added `"type": "module"` and updated the dependency version.
- **Code Refactor**:
- Converted `index.js` to use `import` and `export`.
- Updated the main execution check to use `import.meta.url` for ESM compatibility.
- Converted `__tests__/index.test.js` to use ESM imports for compatibility with the updated source code.
- **Production Build**: Re-generated the `dist/index.js` bundle using `ncc` to reflect the changes.
- **Node.js Version**: The project continues to use Node 20 (`node20` in `action.yaml`), which is fully compatible with these changes.
### Why these changes are needed:
- `@actions/core` v3 brings latest improvements and fixes from the GitHub Actions toolkit.
- Migrating to ESM is the modern standard for Node.js development and is required to consume ESM-only packages like the new `@actions/core` v3.
Verified with `npm test` and `npm run build`.
Reviewed-on: #73
2026-02-23 03:59:12 +01:00
cbbd0e64e8
chore(deps): update dependency glob to v13.0.6 ( #72 )
...
Lint / pre-commit Linting (push) Successful in 39s
Test / Run Tests (push) Successful in 39s
This PR contains the following updates:
| Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/ ) | [Confidence](https://docs.renovatebot.com/merge-confidence/ ) |
|---|---|---|---|
| [glob](https://github.com/isaacs/node-glob ) | [`13.0.5` → `13.0.6`](https://renovatebot.com/diffs/npm/glob/13.0.5/13.0.6 ) |  |  |
---
### Release Notes
<details>
<summary>isaacs/node-glob (glob)</summary>
### [`v13.0.6`](https://github.com/isaacs/node-glob/compare/v13.0.5...v13.0.6 )
[Compare Source](https://github.com/isaacs/node-glob/compare/v13.0.5...v13.0.6 )
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yNS4wIiwidXBkYXRlZEluVmVyIjoiNDMuMjUuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiQXV0b21hdGlvbiJdfQ==-->
Reviewed-on: #72
Co-authored-by: Renovate Bot <renovate@horstenkamp.eu >
Co-committed-by: Renovate Bot <renovate@horstenkamp.eu >
2026-02-22 21:39:43 +01:00
2a1480e46b
chore(deps): update dependency glob to v13.0.5 ( #71 )
...
Lint / pre-commit Linting (push) Successful in 31s
Test / Run Tests (push) Successful in 20s
This PR contains the following updates:
| Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/ ) | [Confidence](https://docs.renovatebot.com/merge-confidence/ ) |
|---|---|---|---|
| [glob](https://github.com/isaacs/node-glob ) | [`13.0.3` → `13.0.5`](https://renovatebot.com/diffs/npm/glob/13.0.3/13.0.5 ) |  |  |
---
### Release Notes
<details>
<summary>isaacs/node-glob (glob)</summary>
### [`v13.0.5`](https://github.com/isaacs/node-glob/compare/v13.0.4...v13.0.5 )
[Compare Source](https://github.com/isaacs/node-glob/compare/v13.0.4...v13.0.5 )
### [`v13.0.4`](https://github.com/isaacs/node-glob/compare/v13.0.3...v13.0.4 )
[Compare Source](https://github.com/isaacs/node-glob/compare/v13.0.3...v13.0.4 )
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xNC4yIiwidXBkYXRlZEluVmVyIjoiNDMuMTQuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiQXV0b21hdGlvbiJdfQ==-->
Reviewed-on: #71
Co-authored-by: Renovate Bot <renovate@horstenkamp.eu >
Co-committed-by: Renovate Bot <renovate@horstenkamp.eu >
2026-02-18 20:03:18 +01:00
96f131369e
chore(deps): update dependency glob to v13.0.3 ( #68 )
...
Lint / pre-commit Linting (push) Successful in 1m10s
Test / Run Tests (push) Successful in 1m14s
This PR contains the following updates:
| Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/ ) | [Confidence](https://docs.renovatebot.com/merge-confidence/ ) |
|---|---|---|---|
| [glob](https://github.com/isaacs/node-glob ) | [`13.0.0` → `13.0.3`](https://renovatebot.com/diffs/npm/glob/13.0.0/13.0.3 ) |  |  |
---
### Release Notes
<details>
<summary>isaacs/node-glob (glob)</summary>
### [`v13.0.3`](https://github.com/isaacs/node-glob/compare/v13.0.2...782e3a74b42d8f71deca7b4b74cea17a600e59d2 )
[Compare Source](https://github.com/isaacs/node-glob/compare/v13.0.2...v13.0.3 )
### [`v13.0.2`](https://github.com/isaacs/node-glob/compare/v13.0.1...2135b0c3580caf6330e28dedb2d57cea75f15154 )
[Compare Source](https://github.com/isaacs/node-glob/compare/v13.0.1...v13.0.2 )
### [`v13.0.1`](https://github.com/isaacs/node-glob/compare/v13.0.0...v13.0.1 )
[Compare Source](https://github.com/isaacs/node-glob/compare/v13.0.0...v13.0.1 )
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi45NC4wIiwidXBkYXRlZEluVmVyIjoiNDIuOTkuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiQXV0b21hdGlvbiJdfQ==-->
Reviewed-on: #68
Co-authored-by: Renovate Bot <renovate@horstenkamp.eu >
Co-committed-by: Renovate Bot <renovate@horstenkamp.eu >
2026-02-13 18:36:06 +01:00
684cc88afb
chore(deps): update dependency @actions/core to v2.0.3 ( #67 )
...
Test / Run Tests (push) Successful in 59s
Lint / pre-commit Linting (push) Failing after 12m5s
This PR contains the following updates:
| Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/ ) | [Confidence](https://docs.renovatebot.com/merge-confidence/ ) |
|---|---|---|---|
| [@actions/core](https://github.com/actions/toolkit/tree/main/packages/core ) ([source](https://github.com/actions/toolkit/tree/HEAD/packages/core )) | [`2.0.2` → `2.0.3`](https://renovatebot.com/diffs/npm/@actions%2fcore/2.0.2/2.0.3 ) |  |  |
---
### Release Notes
<details>
<summary>actions/toolkit (@​actions/core)</summary>
### [`v2.0.3`](https://github.com/actions/toolkit/blob/HEAD/packages/core/RELEASES.md#203 )
- Bump `@actions/http-client` to `3.0.2`
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi45My4wIiwidXBkYXRlZEluVmVyIjoiNDIuOTMuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiQXV0b21hdGlvbiJdfQ==-->
Reviewed-on: #67
Co-authored-by: Renovate Bot <renovate@horstenkamp.eu >
Co-committed-by: Renovate Bot <renovate@horstenkamp.eu >
2026-01-28 00:30:51 +01:00
4a3dbb707c
chore(deps): update dependency @actions/core to v2.0.2 ( #62 )
...
Lint / pre-commit Linting (push) Waiting to run
Test / Run Tests (push) Has been cancelled
This PR contains the following updates:
| Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/ ) | [Confidence](https://docs.renovatebot.com/merge-confidence/ ) |
|---|---|---|---|
| [@actions/core](https://github.com/actions/toolkit/tree/main/packages/core ) ([source](https://github.com/actions/toolkit/tree/HEAD/packages/core )) | [`2.0.1` → `2.0.2`](https://renovatebot.com/diffs/npm/@actions%2fcore/2.0.1/2.0.2 ) |  |  |
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi43MS40IiwidXBkYXRlZEluVmVyIjoiNDIuODEuMTYiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbIkF1dG9tYXRpb24iXX0=-->
Reviewed-on: #62
Co-authored-by: Renovate Bot <renovate@horstenkamp.eu >
Co-committed-by: Renovate Bot <renovate@horstenkamp.eu >
2026-01-16 18:09:35 +01:00
6a098d425e
Enable minification for build artifact ( #60 )
...
### **PR Type**
Enhancement
___
### **Description**
- Enable minification in build script.
- Produce minified `dist/index.js` bundle.
___
<details> <summary><h3> File Walkthrough</h3></summary>
<table><thead><tr><th></th><th align="left">Relevant files</th></tr></thead><tbody><tr><td><strong>Configuration changes</strong></td><td><table>
<tr>
<td>
<details>
<summary><strong>package.json</strong><dd><code>Add minification flag to build script</code> </dd></summary>
<hr>
package.json
- Added `-m` flag to build script.
</details>
</td>
<td><a href="https://git.horstenkamp.eu/Screeps/screeps-deploy-action/src/branch/build/minify/package.json ">+1/-1</a> </td>
</tr>
</table></td></tr><tr><td><strong>Build artifact</strong></td><td><table>
<tr>
<td>
<details>
<summary><strong>index.js</strong><dd><code>Provide minified distribution bundle</code> </dd></summary>
<hr>
dist/index.js
- Updated output to minified bundle.
</details>
</td>
<td><a href="https://git.horstenkamp.eu/Screeps/screeps-deploy-action/src/branch/build/minify/dist/index.js ">+5/-51912</a></td>
</tr>
</table></td></tr></tr></tbody></table>
</details>
___
Reviewed-on: #60
2026-01-04 07:17:05 +01:00
3ff19001a7
chore: Add a unit testing framework ( #49 )
...
Lint / pre-commit Linting (push) Waiting to run
Test / Run Tests (push) Successful in 1m12s
Add vitest as a unit testing framework
Reviewed-on: #49
2026-01-04 07:02:20 +01:00
8e305f9126
fix(deps): update dependency glob to v13 ( #40 )
...
Lint / pre-commit Linting (push) Successful in 45s
Co-authored-by: Renovate Bot <renovate@horstenkamp.eu >
Co-committed-by: Renovate Bot <renovate@horstenkamp.eu >
2025-12-31 19:12:17 +01:00
a7552f74fa
fix(deps): update dependency @actions/core to v2 ( #41 )
...
Lint / pre-commit Linting (push) Successful in 1m3s
Co-authored-by: Renovate Bot <renovate@horstenkamp.eu >
Co-committed-by: Renovate Bot <renovate@horstenkamp.eu >
2025-12-31 19:05:31 +01:00
de6b54abe9
feat: use a custom build js step instead of all the dependencies ( #53 )
...
Lint / pre-commit Linting (push) Successful in 1m38s
Reviewed-on: #53
2025-12-27 19:25:56 +01:00