Skip to content
Merged
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
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@ outputs:
instance-name:
description: 'The instance name for the SQL Server.'
runs:
using: 'node20'
using: 'node24'
main: 'lib/main/index.js'
2 changes: 1 addition & 1 deletion lib/main/index.js

Large diffs are not rendered by default.

26 changes: 13 additions & 13 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@
"@semantic-release/github": "^10.3.5",
"@semantic-release/npm": "^12.0.2",
"@semantic-release/release-notes-generator": "^14.1.0",
"@tsconfig/node20": "^20.1.6",
"@tsconfig/node24": "^24.0.1",
"@types/chai": "^4.3.5",
"@types/js-yaml": "^4.0.9",
"@types/mocha": "^10.0.10",
"@types/node": "^20.19.18",
"@types/node": "^24.6.0",
"@types/sinon": "^17.0.4",
"@types/sinon-chai": "^3.2.9",
"@typescript-eslint/eslint-plugin": "^8.45.0",
Expand Down
4 changes: 2 additions & 2 deletions src/crypto.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { createHash } from 'crypto';
import { createReadStream } from 'fs';
import { createHash } from 'node:crypto';
import { createReadStream } from 'node:fs';

/**
* Generate a sha256 hash of a file from its path.
Expand Down
4 changes: 2 additions & 2 deletions src/install.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { basename, dirname, join as joinPaths } from 'path';
import { readFile } from 'fs/promises';
import { basename, dirname, join as joinPaths } from 'node:path';
import { readFile } from 'node:fs/promises';
import * as core from '@actions/core';
import * as exec from '@actions/exec';
import * as tc from '@actions/tool-cache';
Expand Down
2 changes: 1 addition & 1 deletion src/installers/installer.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { basename, dirname, extname, join as joinPaths } from 'path';
import { basename, dirname, extname, join as joinPaths } from 'node:path';
import * as core from '@actions/core';
import * as tc from '@actions/tool-cache';
import * as io from '@actions/io';
Expand Down
2 changes: 1 addition & 1 deletion src/installers/msi-installer.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { join as joinPaths } from 'path';
import { join as joinPaths } from 'node:path';
import * as core from '@actions/core';
import * as tc from '@actions/tool-cache';
import * as exec from '@actions/exec';
Expand Down
2 changes: 1 addition & 1 deletion src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import * as core from '@actions/core';
import * as tc from '@actions/tool-cache';
import * as io from '@actions/io';
import * as http from '@actions/http-client';
import { basename, extname, dirname, join as joinPaths } from 'path';
import { basename, extname, dirname, join as joinPaths } from 'node:path';
import { VersionConfig } from './versions';
import { generateFileHash } from './crypto';
import * as glob from '@actions/glob';
Expand Down
2 changes: 1 addition & 1 deletion test/install.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import fs from 'fs/promises';
import fs from 'node:fs/promises';
import * as core from '@actions/core';
import * as tc from '@actions/tool-cache';
import * as exec from '@actions/exec';
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "@tsconfig/node20",
"extends": "@tsconfig/node24",
"compilerOptions": {
"module": "node16",
"outDir": "./lib", /* Redirect output structure to the directory. */
Expand Down