Commit Graph

97 Commits

Author SHA1 Message Date
dependabot[bot]
bc3d64a1cd
chore: bump seanmiddleditch/gha-setup-ninja from 4 to 5 (#342)
Bumps [seanmiddleditch/gha-setup-ninja](https://github.com/seanmiddleditch/gha-setup-ninja) from 4 to 5.
- [Release notes](https://github.com/seanmiddleditch/gha-setup-ninja/releases)
- [Commits](https://github.com/seanmiddleditch/gha-setup-ninja/compare/v4...v5)

---
updated-dependencies:
- dependency-name: seanmiddleditch/gha-setup-ninja
  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-06-30 19:33:15 +08:00
dependabot[bot]
4b65ad3339
chore: bump actions/checkout from 4.1.6 to 4.1.7 (#338)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.6 to 4.1.7.
- [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.6...v4.1.7)

---
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>
Co-authored-by: Alfi Maulana <alfi.maulana.f@gmail.com>
2024-06-22 15:43:20 +07:00
Alfi Maulana
2abb3cd1df
ci: separate check-package job to check workflow (#330) 2024-06-08 23:01:34 +08:00
dependabot[bot]
110689f276
chore: bump actions/checkout from 4.1.2 to 4.1.6 (#317)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.2 to 4.1.6.
- [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.2...v4.1.6)

---
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>
Co-authored-by: Alfi Maulana <alfi.maulana.f@gmail.com>
2024-05-24 21:27:00 +08:00
Alfi Maulana
6dac5ea68a
ci: implement external project for testing (#264)
* ci: use `threeal/cmake-starter` for testing the action

* chore: remove unused sample project

* ci: test if project built by running it instead

* ci: add `test-action-with-additional-options` job
2024-03-25 15:44:12 +08:00
Alfi Maulana
6f06d655fe
ci: audit test action jobs in Test workflow (#275)
* ci: checkout action to `cmake-action` directory

* ci: simplify steps in `test-action-with-specified-dirs` job

* ci: test action without build by modifying project instead

* ci: modify `test-action-with-custom-tools` job to `test-action-with-custom-generator

* ci: remove `test-action-with-additional-args` job
2024-03-25 15:10:28 +08:00
Alfi Maulana
21ddda7def
fix: fix default build dir not relative to source dir (#269)
* test: fix get action inputs test when source dir specified

* fix: default build dir should relative to source dir

* ci: fix test directory location
2024-03-25 12:25:14 +08:00
Alfi Maulana
3fcdda0592
ci: utilize CTest Action (#262)
* ci: utilize CTest Action

* ci: add test project step in other jobs
2024-03-22 23:03:17 +08:00
Alfi Maulana
7619e111ea
feat: set run-build input default to true (#260) 2024-03-22 18:44:39 +08:00
Alfi Maulana
4427f0f36d
feat: remove support for auto-install Ninja (#258)
* feat: remove support for auto-installing Ninja

* ci: add step for setting up Ninja in `test-action-with-custom-tools` job

* docs: update readme related to auto-install Ninja support removal
2024-03-22 18:14:44 +08:00
Alfi Maulana
ebf367c0a0
feat: remove support for testing CMake projects (#256)
* feat: remove `run-test` and `test-args` action inputs

* docs: remove description for supporting testing
2024-03-22 17:06:56 +08:00
Alfi Maulana
a5ee64b2bc
refactor: rename action.yaml metadata file to action.yml (#254) 2024-03-22 15:01:16 +07:00
dependabot[bot]
b8559fa932
chore: bump actions/checkout from 4.1.1 to 4.1.2 (#240)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.1 to 4.1.2.
- [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.1...v4.1.2)

---
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>
Co-authored-by: Alfi Maulana <alfi.maulana.f@gmail.com>
2024-03-17 21:47:53 +08:00
Alfi Maulana
f948a9da23
test: reimplement unit testing (#229)
* test: add test for `getInputs` function

* ci(test): add `test-package` job
2024-03-08 21:20:32 +07:00
Alfi Maulana
1afc1f6198
ci: utilize Setup Yarn Berry Action (#217)
* ci: replace `yarn-install-action` with `setup-yarn-action`

* ci: replace `corepack yarn` command with `yarn` command

* ci: setup Yarn to stable version
2024-03-03 17:42:41 +07:00
dependabot[bot]
4623ac26b9
chore: bump threeal/yarn-install-action from 1.0.0 to 2.0.0 (#211)
Bumps [threeal/yarn-install-action](https://github.com/threeal/yarn-install-action) from 1.0.0 to 2.0.0.
- [Release notes](https://github.com/threeal/yarn-install-action/releases)
- [Commits](https://github.com/threeal/yarn-install-action/compare/v1.0.0...v2.0.0)

---
updated-dependencies:
- dependency-name: threeal/yarn-install-action
  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-03-02 20:30:46 +07:00
Alfi Maulana
28146ffccf
ci: remove unit testing (#198)
* ci(test): remove `test-package` job

* test: remove testing using Jest

* test(eslint): remove `parserOptions` entry
2024-02-16 13:13:16 +07:00
dependabot[bot]
c206fab6b9
chore: bump actions/setup-node from 4.0.1 to 4.0.2 (#185)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 4.0.1 to 4.0.2.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v4.0.1...v4.0.2)

---
updated-dependencies:
- dependency-name: actions/setup-node
  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-14 21:18:13 +08:00
Alfi Maulana
7a58875855
ci: setup latest Node.js in workflows (#187) 2024-02-10 20:55:08 +08:00
Alfi Maulana
5d4ec5ed25
ci(test): remove "Check Yarn Version" step in check-package job (#177) 2024-02-04 16:06:33 +07:00
dependabot[bot]
c5afce0844
chore: bump actions/setup-node from 4.0.0 to 4.0.1 (#144)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v4.0.0...v4.0.1)

---
updated-dependencies:
- dependency-name: actions/setup-node
  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-12-25 15:47:01 +07:00
Alfi Maulana
3c2f67a8c6
ci: fix capitalization for test.yaml workflow name (#139) 2023-12-15 16:41:42 +08:00
Alfi Maulana
65845a480e
build: adjust source files structures (#136)
* build(typescript): disable from generating source map

* build(typescript): disable from generating declaration file

* build(typescript): modify source files to be compiled to the same dir

* build(typescript): modify distribution files to be generated to `dist` directory

* refactor: rename main entrypoint from `main` to `index`

* chore(git): specify attribute for `dist` directory instead of just `dist/index.mjs`
2023-12-14 19:20:50 +08:00
Alfi Maulana
0a416228af
ci: call yarn command from the corepack command (#134) 2023-12-14 11:04:34 +08:00
Alfi Maulana
27e324dd89
ci: use version 20 in the Setup Node.js steps (#130) 2023-12-13 14:55:51 +08:00
Alfi Maulana
b2c084d652
ci: use threeal/yarn-install-action in workflows (#128) 2023-12-13 13:07:33 +08:00
Alfi Maulana
423b7a9d0b
ci: sparse checkout for action files in test workflow (#124)
* ci(test): only sparse checkout action files in action testing jobs

* refactor: rename `action.yml` config file to `action.yaml`
2023-12-13 13:07:14 +08:00
Alfi Maulana
ebeda19c51
build: rename bundle command to build command (#121) 2023-12-12 14:10:31 +08:00
Alfi Maulana
19dbdac998
ci: add check-package job in test workflow (#118)
* ci: move check steps to `check-package` job in `test` workflow

* ci(build): merge check differences step to bundle package step

* ci(test): check Yarn version in the `check-package` job
2023-12-12 14:03:02 +08:00
Alfi Maulana
3d7ddb3fa0
ci(test): remove runs on matrix OSs in the test-package job (#116) 2023-12-12 13:51:24 +08:00
Alfi Maulana
c4d2902c63
build: separate check command to format and lint commands (#114) 2023-12-12 13:45:47 +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
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
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
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
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
0325477980
feat: add shell action input 2023-07-04 19:23:09 +07:00
Alfi Maulana
0a60e2eb74
feat: add build-dir action output 2023-07-02 19:21:30 +07:00
Alfi Maulana
f599e74b36
feat: add options input 2023-06-30 12:29:27 +07:00
Alfi Maulana
a320b8e14b
style: use a better step names in test.yml workflow 2023-06-29 23:18:54 +07:00
Alfi Maulana
d0fef383d5
feat: auto enable run-build if run-test is enabled 2023-06-29 23:17:28 +07:00
Alfi Maulana
baf303f121
ci: merge jobs for testing action with specified generator and compilers 2023-06-29 23:11:10 +07:00
Alfi Maulana
4e05d6cf4f
ci: fix by specified test configuration on Windows 2023-06-29 22:50:43 +07:00
Alfi Maulana
09bf642a9f
ci: fix by specified test to run 2023-06-29 20:28:36 +07:00
Alfi Maulana
b5b08aba16
ci: disable fail fast in job with matrix strategy 2023-06-29 20:20:04 +07:00
Alfi Maulana
62ad24196f
ci: expand jobs to test for run-build and run-test inputs 2023-06-29 20:13:23 +07:00
Alfi Maulana
f1910e1a56
feat: replace targets input with the more general build-args input 2023-06-29 19:32:21 +07:00