diff --git a/.github/workflows/local.yml b/.github/workflows/local.yml index b44a625..3de91a8 100644 --- a/.github/workflows/local.yml +++ b/.github/workflows/local.yml @@ -60,7 +60,7 @@ jobs: - uses: actions/setup-node@v4 with: cache: 'npm' - node-version: 20 + node-version: 24 - name: Run Doc Detective uses: ./ # Uses an action in the root directory id: dd diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6ada020..d3873cf 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -65,7 +65,7 @@ jobs: - uses: actions/setup-node@v4 with: cache: 'npm' - node-version: 20 + node-version: 24 - name: Run Doc Detective uses: ./ # Uses an action in the root directory id: dd diff --git a/.github/workflows/test-pr.yml b/.github/workflows/test-pr.yml index 8fcc543..eb94691 100644 --- a/.github/workflows/test-pr.yml +++ b/.github/workflows/test-pr.yml @@ -51,7 +51,7 @@ jobs: - uses: actions/setup-node@v4 with: cache: 'npm' - node-version: 20 + node-version: 24 - name: Run Doc Detective uses: ./ # Uses an action in the root directory id: dd diff --git a/action.yml b/action.yml index ad9b9d2..420f4e7 100644 --- a/action.yml +++ b/action.yml @@ -96,7 +96,7 @@ outputs: results: description: JSON-formatted results of the command. runs: - using: node20 # Specifies the node version + using: node24 # Specifies the node version main: dist/index.js # Path to the JavaScript file that will be executed branding: icon: search # The icon to display in the GitHub Marketplace diff --git a/esbuild.config.mjs b/esbuild.config.mjs index 234a96f..9c4d85b 100644 --- a/esbuild.config.mjs +++ b/esbuild.config.mjs @@ -5,7 +5,7 @@ try { entryPoints: ["src/index.ts"], bundle: true, platform: "node", - target: "node20", + target: "node24", format: "cjs", outfile: "dist/index.js", sourcemap: true,