Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .eslintrc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ rules:
allowRegExp: false
allowNever: false
"@typescript-eslint/no-unnecessary-type-parameters": "off"
n/no-missing-import: "off"

overrides:
- files: ["**/*.js"]
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/ci-cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ jobs:
- macos-latest
- windows-latest
node-version:
- 16
- 18
- 20
- "20"
- "22"
- "24"

steps:
- name: Checkout source
Expand Down Expand Up @@ -74,7 +74,7 @@ jobs:
- name: Install Node.js
uses: actions/setup-node@v5
with:
node-version: "20"
node-version: "24"
cache: npm

- name: Install development dependencies
Expand Down Expand Up @@ -107,13 +107,13 @@ jobs:
fail-fast: false
matrix:
node-version:
- 16
- 18
- 20
- "20"
- "22"
- "24"

services:
verdaccio:
image: verdaccio/verdaccio:5
image: verdaccio/verdaccio:6
ports:
- 4873:4873

Expand Down Expand Up @@ -224,7 +224,7 @@ jobs:
- name: Install Node.js
uses: actions/setup-node@v5
with:
node-version: "20"
node-version: "24"

- name: Download publish artifact
uses: actions/download-artifact@v5
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Contributions, enhancements, and bug-fixes are welcome! [Open an issue](https://

## Building Locally

You should be using Node.js v16 or later to build this project locally
You should be using Node.js v24 or later to build this project locally

```shell
# Clone this repository
Expand Down
7 changes: 2 additions & 5 deletions action.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
/* eslint-disable @typescript-eslint/no-floating-promises, @typescript-eslint/no-require-imports, @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-call */
"use strict";
import { main } from "./dist/main.js";

const { main } = require("./dist/main.js");

main();
await main();
2 changes: 1 addition & 1 deletion action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,5 +92,5 @@ outputs:
If not configured for a scoped package, will be "default".
runs:
using: node20
using: node24
main: action.js
14 changes: 7 additions & 7 deletions bin/npm-publish.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#!/usr/bin/env node
/* eslint-disable @typescript-eslint/no-require-imports, @typescript-eslint/use-unknown-in-catch-callback-variable, unicorn/prefer-module, unicorn/prefer-top-level-await */
"use strict";
import process from "node:process";

const process = require("node:process");
const { version } = require("../package.json");
const { main } = require("../lib/cli/index.js");
import { main } from "../lib/cli/index.js";
import manifest from "../package.json" with { type: "json" };

main(process.argv.slice(2), version).catch((error) => {
try {
await main(process.argv.slice(2), manifest.version);
} catch (error) {
console.error(error);
process.exitCode = 1;
});
}
Loading
Loading