Unverified Commit 9f265659 authored by Salman Chishti's avatar Salman Chishti Committed by GitHub
Browse files

Update actions checkout to use node 24 (#2226)

* use node 24

* update other parts to node 24

* bump to major version, audit fix, changelog

* update licenses

* update dist

* update major version

* will do separate pr for v5 and will do a minor version for previous changes
parent 08eba0b2
Loading
Loading
Loading
Loading
+2 −2
Changes for .github/workflows/check-dist.yml: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -24,10 +24,10 @@ jobs:
    steps:
      - uses: actions/[email protected]

      - name: Set Node.js 20.x
      - name: Set Node.js 24.x
        uses: actions/setup-node@v4
        with:
          node-version: 20.x
          node-version: 24.x

      - name: Install dependencies
        run: npm ci
+1 −1
Changes for .github/workflows/test.yml: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@ jobs:
    steps:
      - uses: actions/setup-node@v4
        with:
          node-version: 20.x
          node-version: 24.x
      - uses: actions/[email protected]
      - run: npm ci
      - run: npm run build
+1 −1
Changes for action.yml: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -104,6 +104,6 @@ outputs:
  commit:
    description: 'The commit SHA that was checked out'
runs:
  using: node20
  using: node24
  main: dist/index.js
  post: dist/index.js
+8 −8
Changes for package-lock.json: 8 added lines, 8 removed lines.
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@
      },
      "devDependencies": {
        "@types/jest": "^29.5.12",
        "@types/node": "^20.12.12",
        "@types/node": "^24.1.0",
        "@types/uuid": "^9.0.8",
        "@typescript-eslint/eslint-plugin": "^7.9.0",
        "@typescript-eslint/parser": "^7.9.0",
@@ -1515,12 +1515,12 @@
      "dev": true
    },
    "node_modules/@types/node": {
      "version": "20.12.12",
      "resolved": "https://registry.npmjs.org/@types/node/-/node-20.12.12.tgz",
      "integrity": "sha512-eWLDGF/FOSPtAvEqeRAQ4C8LSA7M1I7i0ky1I8U7kD1J5ITyW3AsRhQrKVoWf5pFKZ2kILsEGJhsI9r93PYnOw==",
      "version": "24.1.0",
      "resolved": "https://registry.npmjs.org/@types/node/-/node-24.1.0.tgz",
      "integrity": "sha512-ut5FthK5moxFKH2T1CUOC6ctR67rQRvvHdFLCD2Ql6KXmMuCrjsSsRI9UsLCm9M18BMwClv4pn327UvB7eeO1w==",
      "dev": true,
      "dependencies": {
        "undici-types": "~5.26.4"
        "undici-types": "~7.8.0"
      }
    },
    "node_modules/@types/stack-utils": {
@@ -6865,9 +6865,9 @@
      }
    },
    "node_modules/undici-types": {
      "version": "5.26.5",
      "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz",
      "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==",
      "version": "7.8.0",
      "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.8.0.tgz",
      "integrity": "sha512-9UJ2xGDvQ43tYyVMpuHlsgApydB8ZKfVYTsLDhXkFL/6gfkp+U8xTGdh8pMJv1SpZna0zxG1DwsKZsreLbXBxw==",
      "dev": true
    },
    "node_modules/universal-user-agent": {
+1 −1
Changes for package.json: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -37,7 +37,7 @@
  },
  "devDependencies": {
    "@types/jest": "^29.5.12",
    "@types/node": "^20.12.12",
    "@types/node": "^24.1.0",
    "@types/uuid": "^9.0.8",
    "@typescript-eslint/eslint-plugin": "^7.9.0",
    "@typescript-eslint/parser": "^7.9.0",