Commit Graph

18 Commits

Author SHA1 Message Date
Alfi Maulana
3651db1f78
build: setup Node.js using pnpm (#654)
Some checks failed
Build / Build Package (push) Has been cancelled
Check / Check Package (push) Has been cancelled
Test / Test Package (push) Has been cancelled
Test / Test Action (macos-14) (push) Has been cancelled
Test / Test Action (ubuntu-24.04) (push) Has been cancelled
Test / Test Action (windows-2022) (push) Has been cancelled
Test / Test Action With Specified Directories (push) Has been cancelled
Test / Test Action Without Run Build (push) Has been cancelled
Test / Test Action With Additional Options (push) Has been cancelled
Test / Test Action With Custom Generator (push) Has been cancelled
Signed-off-by: Alfi Maulana <alfi.maulana.f@gmail.com>
2025-03-21 21:37:23 +07:00
Alfi Maulana
a067c394dc
build: migrate project to use pnpm (#639)
Some checks failed
Build / Build Package (push) Has been cancelled
Check / Check Package (push) Has been cancelled
Test / Test Package (push) Has been cancelled
Test / Test Action (macos-14) (push) Has been cancelled
Test / Test Action (ubuntu-24.04) (push) Has been cancelled
Test / Test Action (windows-2022) (push) Has been cancelled
Test / Test Action With Specified Directories (push) Has been cancelled
Test / Test Action Without Run Build (push) Has been cancelled
Test / Test Action With Additional Options (push) Has been cancelled
Test / Test Action With Custom Generator (push) Has been cancelled
Signed-off-by: Alfi Maulana <alfi.maulana.f@gmail.com>
2025-03-15 23:31:08 +08:00
Alfi Maulana
f7982f91ad
chore: remove unused .env.yarn file (#641)
Signed-off-by: Alfi Maulana <alfi.maulana.f@gmail.com>
2025-03-08 18:07:54 +08:00
Alfi Maulana
7920840f24
build: specify Node version using .nvmrc file (#433)
* build: specify Node.js version in `.nvmrc` file

* ci: setup Node.js with version specified in `.nvmrc`
2024-09-04 12:54:34 +07:00
Alfi Maulana
f06670a909
test: utilize new flat ESLint configuration (#294)
* test: utilize new flat ESLint configuration

* test: add TypeScript support to new flat ESLint config

* test: fix `@typescript-eslint/consistent-indexed-object-style` lint issue
2024-04-12 22:55:35 +08:00
Alfi Maulana
bbef8df86c
test: disable Jest from writing report files (#287) 2024-04-08 20:46:09 +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
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
d37829ef6a
build: build distribution files directly from TypeScript files (#221)
* build: build dist directly from TypeScript sources

* build(ts): adjust options in `tsconfig.json`

* fix: import all instead of default in @actions modules
2024-03-04 21:16:05 +08:00
Alfi Maulana
e0f6aeea02
refactor: rename source files extension to .ts (#219) 2024-03-04 21:01:48 +08:00
Alfi Maulana
808bf88986
build: remove config for disabling Yarn global cache (#215) 2024-03-02 20:35:08 +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
Alfi Maulana
40abb6d4b8
chore(git): fix pattern for ignoring JavaScript files (#190) 2024-02-11 17:02:51 +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
198259946b
build: set Yarn default behavior to disable global cache (#123)
* build(yarn): add config that disable global cache

* build: fix `main/index.mjs` build result
2023-12-12 22:51:47 +08: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
65da660746
ci: .gitignore ignore all dot-prefixed files except for Git files 2023-03-20 10:17:27 +07:00
Alfi Maulana
f18936167f
add a test project for testing this action 2023-01-06 15:23:09 +07:00