Compare commits

..

1 Commits

Author SHA1 Message Date
Jozef Izso
fc794fdbe8 Create instructions file for Copilot 2025-07-08 10:57:23 +02:00
4 changed files with 1043 additions and 3848 deletions

View File

@@ -0,0 +1,15 @@
---
applyTo: '**'
---
Instructions:
- Ensure Node.js 20 is installed and used for all development and CI tasks.
- Do not update the Node.js runtime to versions newer than 20.
- Install all dependencies using `npm install`.
- Use TypeScript for all source code; ensure `tsconfig.json` is present and configured.
- Use `npm test` to run tests; ensure all tests pass before committing changes.
- Validate changes by running `npm run all` before submitting pull requests or merging.
- This project is a GitHub Actions action; ensure compatibility with GitHub Actions workflows.
- After validating changes, create a new commit with the `dist/` directory included.
- Document any changes to the action's inputs, outputs, or behavior in the README.

View File

@@ -32,6 +32,6 @@ describe('parseNetDuration', () => {
})
it('throws when string has invalid format', () => {
expect(() => parseNetDuration('12:34:56 not a duration')).toThrow(/^Invalid format/)
expect(() => parseNetDuration('12:34:56 not a duration')).toThrowError(/^Invalid format/)
})
})

4871
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -61,7 +61,8 @@
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-jest": "^28.14.0",
"eslint-plugin-prettier": "^5.5.1",
"jest": "^30.0.4",
"jest": "^29.7.0",
"jest-circus": "^29.7.0",
"jest-junit": "^16.0.0",
"js-yaml": "^4.1.0",
"prettier": "^3.6.2",