Replies: 1 comment
-
From further research, my assumption that Node is easier to test is a bit flawed. Yes, Node.js does have more granular testing capabilities since you can just import { test } from "node:test"
import assert from "node:assert"
import myFunction from "../src/myFunction.js"
test("it works", () => {
assert(myFunction(40, 2) === 42);
}) but with this kind of action:
as for speed, well anything is faster than Docker! Pulling and building is wayyyy slower than just TLDR: this github wiki stuff is too simple to need such complexity. see spenserblack/actions-wiki#66 for a similar discussion to this one |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Originally from Milestone https://github.com/Andrew-Chen-Wang/github-wiki-action/milestone/1
It'd be much better if we use node since, if we add more features, then we can test them with node.js.
I also heard node is faster in general. But not too sure considering how lean this package is.
Beta Was this translation helpful? Give feedback.
All reactions