15 Commits

Author SHA1 Message Date
dependabot[bot] 123b4541e1 build(deps): bump pre-commit/action from 3.0.0 to 3.0.1 (#329)
Bumps [pre-commit/action](https://github.com/pre-commit/action) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/pre-commit/action/releases)
- [Commits](https://github.com/pre-commit/action/compare/v3.0.0...v3.0.1)

---
updated-dependencies:
- dependency-name: pre-commit/action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-07 16:30:26 +00:00
dependabot[bot] bf56ede87f build(deps): bump actions/cache from 3 to 4 (#315)
Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-07 16:29:38 +00:00
dependabot[bot] c3736a0955 build(deps): bump actions/setup-node from 3 to 4 (#237)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3 to 4.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-06 13:57:14 +00:00
dependabot[bot] 05d621a883 build(deps): bump actions/checkout from 3 to 4 (#209)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-06 13:56:58 +00:00
Iain Sproat 2cf7d93b74 Add tests and refactor (#231)
- generally improves tests which were not working, and adds them to CI pipeline
- refactors to catch errors
- Rename github action to match current usage
- Informing GitHub of failure is done at the top-level method
- Add tests for network and http errors
- reduce coverage thresholds
2023-10-19 15:45:58 +01:00
Gergő Jedlicska 0b374bbe38 gergo/simplify (#189)
* refactor to a lean implementation

* update gitignore

* rework retry errors

* add main test example

* remove integration tests

* prettier fix
2023-08-09 09:39:37 +02:00
Iain Sproat d1a6a411ae feat(output): action will output the server host (#183) 2023-08-04 16:32:31 +02:00
Iain Sproat f761cbf854 tests(integration): mock server validates requests (#130)
* tests(integration): mock server validates requests

* chore(logging): improve error message

* more logging improvements

* fix logging which failed if response was not json

* Use createError method in mock server

* Improve mock server error presentation

* Add speckle_function_command to integration test using github action

* fix broken merge; ours strategy was too agressive

* Resolve 'a sequence was not expected' error message in main.yml

* Tidy up commit to match existing in main

* use tag if available, otherwise commit sha.
2023-06-23 15:58:26 +02:00
Iain Sproat 6365357c7c fix(post schema): match server expectations (#93)
* fix(post schema): match server expectations
* Update example specklefunction
* remove steps property from specklefunction definition
2023-05-19 13:05:36 +01:00
Iain Sproat 1acf43083e fix(.github/workflows): issues should be opened in the speckle-automate project (#17) 2023-03-24 22:43:47 +00:00
Iain Sproat 1fceda4724 test(coverage): 100% test coverage & refactor to vitest and msw (#6)
* chore(refactor): tests use vitest and msw
* fix(directory): Ensure filenames conform to eslint requirements
* chore(yarn): Specify node engine version
* fix(yarn): use the proper nodelinker
* fix(GitHub workflow): yarn install with caching
* docs(README): update to match changes

---------

Co-authored-by: Gergő Jedlicska <gergo@jedlicska.com>
2023-03-23 15:37:32 +00:00
dependabot[bot] 21e2c7b7fc build(deps): bump actions/setup-python from 3 to 4 (#3)
* build(deps): bump actions/setup-python from 3 to 4

Bumps [actions/setup-python](https://github.com/actions/setup-python) from 3 to 4.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix(github workflow): remove unnecessary action

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Iain Sproat <68657+iainsproat@users.noreply.github.com>
2023-03-21 23:12:55 +00:00
Iain Sproat 938e24921d feat(action): Create a Typescript action (#1) 2023-03-21 23:06:59 +00:00
Iain Sproat a148b30668 Use example action 2023-03-20 16:06:58 +00:00
Iain Sproat b0d7b5ce16 Initial commit 2023-03-20 15:31:14 +00:00