chore: configure dependencies and project conf

This commit is contained in:
2025-09-11 13:40:03 +02:00
parent 8b2b009f38
commit 95ab48e66a
12 changed files with 28920 additions and 5 deletions

View File

@@ -1 +1,20 @@
console.log("Hello World!")
import * as core from "@actions/core"
import { checkDatapack } from "./check_datapack.js"
async function run(): Promise<void> {
try {
const rootDir = core.getInput("dir")
let version = core.getInput("version")
if (version === "") {
version = "auto"
}
await checkDatapack(rootDir, version)
} catch (error) {
if (error instanceof Error) {
core.setFailed(error.message)
}
}
}
run()