diff --git a/src/index.ts b/src/index.ts index 7cff102c4..b28698aeb 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,6 +1,6 @@ -import * as fs from 'fs'; -import * as https from 'https'; -import * as path from 'path'; +import * as fs from 'node:fs'; +import * as https from 'node:https'; +import * as path from 'node:path'; import * as exec from '@actions/exec'; diff --git a/src/validate.ts b/src/validate.ts index 4229c2a14..fd65d40a6 100644 --- a/src/validate.ts +++ b/src/validate.ts @@ -1,7 +1,7 @@ -import * as crypto from 'crypto'; -import * as fs from 'fs'; +import * as crypto from 'node:crypto'; +import * as fs from 'node:fs'; +import * as path from 'node:path'; import * as gpg from 'gpg'; -import * as path from 'path'; import * as core from '@actions/core'; import {request} from 'undici';