Alfi Maulana
8885aea737
test: use .gitignore
in ESLint ( #112 )
...
* test(eslint): use `.gitignore` to ignore files
* test(eslint): ignore `main` directory from checking
2023-12-12 12:52:14 +08:00
Alfi Maulana
61dd4011c7
test: use eslint-plugin-json-files ( #110 )
...
* test(eslint): use eslint-plugin-json-files
* chore: remove sort-package-json from dependency
2023-12-11 20:53:00 +08:00
Alfi Maulana
96089ee386
test: write test in JavaScript ( #108 )
...
* test: map imported module from the distribution files
* chore: remove @jest/globals, @types/jest, and ts-jest from dependencies
* test: modify test files to JavaScript
* test: remove `testMatch` option in Jest (redundant)
* build: remove `tsconfig.eslint.json`
* ci(test): set `--experimental-vm-modules` only on `Test Package` step instead
2023-12-11 20:38:06 +08:00
dependabot[bot]
ad6a9d3164
chore: bump @types/node from 20.10.2 to 20.10.4 ( #104 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 20.10.2 to 20.10.4.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
---
updated-dependencies:
- dependency-name: "@types/node"
dependency-type: direct:development
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>
2023-12-11 20:18:37 +08:00
dependabot[bot]
daa4a12305
chore: bump typescript from 5.3.2 to 5.3.3 ( #103 )
...
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 5.3.2 to 5.3.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Commits](https://github.com/Microsoft/TypeScript/compare/v5.3.2...v5.3.3 )
---
updated-dependencies:
- dependency-name: typescript
dependency-type: direct:development
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>
2023-12-10 22:06:45 +08:00
dependabot[bot]
6fee8c9cf5
chore: bump @typescript-eslint/eslint-plugin from 6.13.1 to 6.13.2 ( #101 )
...
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) from 6.13.1 to 6.13.2.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.13.2/packages/eslint-plugin )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
dependency-type: direct:development
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>
2023-12-10 19:15:40 +07:00
dependabot[bot]
521d4c0591
chore: bump @typescript-eslint/parser from 6.13.1 to 6.13.2 ( #102 )
...
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) from 6.13.1 to 6.13.2.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.13.2/packages/parser )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
dependency-type: direct:development
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>
2023-12-10 14:56:39 +07:00
dependabot[bot]
c3277ab769
chore: bump eslint from 8.54.0 to 8.55.0 ( #98 )
...
Bumps [eslint](https://github.com/eslint/eslint ) from 8.54.0 to 8.55.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v8.54.0...v8.55.0 )
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-08 21:48:43 +07:00
dependabot[bot]
0e67cfcdf6
chore: bump eslint-config-prettier from 9.0.0 to 9.1.0 ( #100 )
...
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier ) from 9.0.0 to 9.1.0.
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v9.0.0...v9.1.0 )
---
updated-dependencies:
- dependency-name: eslint-config-prettier
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-07 15:01:45 +08:00
dependabot[bot]
67c696ff13
chore: bump @types/node from 20.10.0 to 20.10.2 ( #97 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 20.10.0 to 20.10.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
---
updated-dependencies:
- dependency-name: "@types/node"
dependency-type: direct:development
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>
2023-12-03 21:36:47 +08:00
dependabot[bot]
74516b262e
chore: bump @typescript-eslint/parser from 6.12.0 to 6.13.1 ( #94 )
...
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) from 6.12.0 to 6.13.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.13.1/packages/parser )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-03 19:03:45 +08:00
dependabot[bot]
76cfc52e29
chore: bump @typescript-eslint/eslint-plugin from 6.12.0 to 6.13.1 ( #95 )
...
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) from 6.12.0 to 6.13.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.13.1/packages/eslint-plugin )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-02 16:18:23 +08:00
dependabot[bot]
88f2b96fa5
chore: bump @types/node from 20.9.2 to 20.10.0 ( #91 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 20.9.2 to 20.10.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
---
updated-dependencies:
- dependency-name: "@types/node"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-26 22:33:30 +08:00
dependabot[bot]
eb5c5b88b7
chore: bump @types/jest from 29.5.8 to 29.5.10 ( #90 )
...
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest ) from 29.5.8 to 29.5.10.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest )
---
updated-dependencies:
- dependency-name: "@types/jest"
dependency-type: direct:development
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>
2023-11-26 15:36:14 +08:00
dependabot[bot]
9fbba1cfdc
chore: bump @typescript-eslint/eslint-plugin from 6.11.0 to 6.12.0 ( #83 )
...
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) from 6.11.0 to 6.12.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.12.0/packages/eslint-plugin )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-26 11:13:58 +07:00
Alfi Maulana
93c7c3a6ba
chore: add Git attributes for Yarn lock file and adjust other rule ( #93 )
...
* chore(git): add attribute for `yarn.lock` file
* chore(git): adjust attribute rule for `main/index.mjs`
2023-11-25 21:13:42 +08:00
dependabot[bot]
32e6687459
chore: bump @typescript-eslint/parser from 6.11.0 to 6.12.0 ( #84 )
...
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) from 6.11.0 to 6.12.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.12.0/packages/parser )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-25 19:50:29 +08:00
dependabot[bot]
1a1b1ca50b
chore: bump typescript from 5.2.2 to 5.3.2 ( #87 )
...
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 5.2.2 to 5.3.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Commits](https://github.com/Microsoft/TypeScript/compare/v5.2.2...v5.3.2 )
---
updated-dependencies:
- dependency-name: typescript
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-25 19:37:40 +08:00
Alfi Maulana
b3dad4773e
ci: adjust naming in workflows ( #88 )
...
* ci: remove `latest` branch from triggering workflow run
* ci: adjust job names in workflows
* ci: adjust step names in workflow jobs
* docs(readme): adjust naming in the example workflows
* ci: rename `test.yml` workflow to `test.yaml`
2023-11-22 09:59:54 +07:00
Alfi Maulana
434fbed336
chore: merge pull request #70 from threeal/js-action
...
Convert to JavaScript Action
2023-11-21 20:48:09 +07:00
Alfi Maulana
dd1c44061d
feat: install Ninja if it was not available ( #82 )
...
* feat: install Ninja if generator is Ninja
* feat: only install ninja if it was not installed
2023-11-21 20:45:38 +07:00
Alfi Maulana
ded3a0b2a3
feat: remove custom shell input ( #81 )
...
* ci: remove `specified-shell` job in the Test workflow
* feat: remove `shell` action input
2023-11-21 20:17:13 +07:00
Alfi Maulana
025d277e55
feat: pass more arguments during CMake configuration ( #78 )
...
* feat: parse and pass `generator` input
* feat: parse and pass `c-compiler` and `cxx-compiler` inputs
* feat: parse and pass `c-flags` and `cxx-flags` inputs
* feat: parse and pass `options` input
* feat: parse and pass `args` input
2023-11-20 21:52:38 +07:00
Alfi Maulana
1829bd6347
feat: run CTest from the JavaScript Action ( #77 )
...
* feat: run CTest if `run-test` is true
* feat: run CMake build if `run-test` set to true
2023-11-20 21:19:04 +07:00
Alfi Maulana
421f12e1db
feat: run CMake build from the JavaScript Action ( #75 )
...
* feat: add CMake build step
* feat: only run CMake build step if `run-build` input is true
* feat: pass `build-args` input to the CMake build command
* fix: split lines from `getMultilineInput` with a whitespace
2023-11-20 20:51:25 +07:00
Alfi Maulana
48cb08d783
feat: configure CMake from the JavaScript Action ( #72 )
...
* feat(action): modify to run `main/index.mjs` on Node 20
* feat: add configure cmake step
* feat: output build directory
* feat: get `source-dir` and `build-dir` inputs
2023-11-20 20:18:21 +07:00
Alfi Maulana
ed7c2d179c
build: initialize JavaScript Action project ( #69 )
...
* build: initialize JavaScript action project
* chore(dependabot): check for npm package updates
* style: ignore `main` dir and `README.md` from being formatted
* ci: add Build workflow that contains Build Package job
* ci: add Test Package job in the Test workflow
* test: add an empty `main.test.ts` test
* chore: adjust Git attributes for `main/index.mjs` file
* docs(readme): add a build status badge
2023-11-20 18:25:22 +07:00
Alfi Maulana
d27fb54a3f
chore: merge pull request #66 from threeal/update-dependabot-config
...
Update Dependabot Configuration
2023-10-22 23:21:50 +07:00
Alfi Maulana
d98bb3b37e
ci(dependabot): use chore
as the PR label
2023-10-22 23:12:20 +07:00
Alfi Maulana
391a442e30
ci(dependabot): rename config file to dependabot.yaml
2023-10-22 23:11:32 +07:00
dependabot[bot]
988bf7f26e
chore: bump actions/checkout from 4.1.0 to 4.1.1 ( #65 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4.1.0 to 4.1.1.
- [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/v4.1.0...v4.1.1 )
---
updated-dependencies:
- dependency-name: actions/checkout
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>
2023-10-22 14:02:22 +07:00
dependabot[bot]
5ca5915cfe
chore: bump actions/checkout from 4.0.0 to 4.1.0 ( #64 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4.0.0 to 4.1.0.
- [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/v4.0.0...v4.1.0 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-29 09:18:20 +07:00
dependabot[bot]
1a33b4f2ed
chore: bump actions/checkout from 3.6.0 to 4.0.0 ( #63 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3.6.0 to 4.0.0.
- [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.6.0...v4.0.0 )
---
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-09-13 11:23:02 +08:00
dependabot[bot]
4560f6e97d
chore: bump actions/checkout from 3.5.3 to 3.6.0 ( #62 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3.5.3 to 3.6.0.
- [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.5.3...v3.6.0 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-01 10:41:47 +08:00
Alfi Maulana
b684818e31
chore: merge pull request #55 from threeal/main
...
Version 1.3.0 Release
2023-08-10 09:55:29 +07:00
Alfi Maulana
961184a733
docs: update version to v1.3.0 in the readme file ( #61 )
2023-08-09 17:06:31 +08:00
Alfi Maulana
7ef2eb8da6
chore: merge pull request #58 from threeal/add-shell-inputs
...
Add `shell` Action Input
2023-07-04 19:34:23 +07:00
Alfi Maulana
ca8ab2ff60
docs: add documentation of shell
action input
2023-07-04 19:24:49 +07:00
Alfi Maulana
0325477980
feat: add shell
action input
2023-07-04 19:23:09 +07:00
Alfi Maulana
93a6d71ae6
chore: merge pull request #56 from threeal/update-description
...
Update Description
2023-07-02 22:16:29 +07:00
Alfi Maulana
9d9c70d257
docs: improve the description and features section in the readme file
2023-07-02 22:09:25 +07:00
Alfi Maulana
19d48ebea6
chore: merge pull request #53 from threeal/add-build-dir-output
...
Add `build-dir` Action Output
2023-07-02 19:44:37 +07:00
Alfi Maulana
0a52a2a373
docs: add "outputs" section in the README.md
2023-07-02 19:37:01 +07:00
Alfi Maulana
0a60e2eb74
feat: add build-dir
action output
2023-07-02 19:21:30 +07:00
Alfi Maulana
555658bd6a
chore: merge pull request #51 from threeal/docs-fix-example
...
Adjust and Fix Examples in the Readme
2023-06-30 22:46:44 +07:00
Alfi Maulana
735354b97a
docs: adjust and fix examples
2023-06-30 14:13:09 +07:00
Alfi Maulana
699012010f
chore: merge pull request #50 from threeal/docs-rec-version
...
Adjust Recommended Version
2023-06-30 13:55:20 +07:00
Alfi Maulana
9f80f7200a
docs: replace @main
with the latest version tag
2023-06-30 13:43:12 +07:00
Alfi Maulana
59b65a5b38
chore: merge pull request #49 from threeal/main
...
Version 1.2.0 Release
2023-06-30 13:31:14 +07:00
Alfi Maulana
f1a04790c4
chore: merge pull request #48 from threeal/add-options-input
...
Add `options` Input
2023-06-30 12:54:04 +07:00