]> source.dussan.org Git - gitea.git/commitdiff
Bump CI,Flake and Snap to Node 22 (#32487)
authorsilverwind <me@silverwind.io>
Wed, 13 Nov 2024 21:39:55 +0000 (22:39 +0100)
committerGitHub <noreply@github.com>
Wed, 13 Nov 2024 21:39:55 +0000 (21:39 +0000)
Node 22 is LTS since 2024-10-29. Updated it everywhere.

---------

Co-authored-by: techknowlogick <techknowlogick@gitea.com>
.github/workflows/pull-compliance.yml
.github/workflows/pull-e2e-tests.yml
.github/workflows/release-nightly.yml
.github/workflows/release-tag-rc.yml
.github/workflows/release-tag-version.yml
flake.lock
flake.nix
snap/snapcraft.yaml

index 429829dfe0fc9717228b3f5ce3340285437e36e3..7e988e04492ea982f105db2837924b77cd75e016 100644 (file)
@@ -37,7 +37,7 @@ jobs:
           python-version: "3.12"
       - uses: actions/setup-node@v4
         with:
-          node-version: 20
+          node-version: 22
           cache: npm
           cache-dependency-path: package-lock.json
       - run: pip install poetry
@@ -66,7 +66,7 @@ jobs:
       - uses: actions/checkout@v4
       - uses: actions/setup-node@v4
         with:
-          node-version: 20
+          node-version: 22
           cache: npm
           cache-dependency-path: package-lock.json
       - run: make deps-frontend
@@ -137,7 +137,7 @@ jobs:
       - uses: actions/checkout@v4
       - uses: actions/setup-node@v4
         with:
-          node-version: 20
+          node-version: 22
           cache: npm
           cache-dependency-path: package-lock.json
       - run: make deps-frontend
@@ -186,7 +186,7 @@ jobs:
       - uses: actions/checkout@v4
       - uses: actions/setup-node@v4
         with:
-          node-version: 20
+          node-version: 22
           cache: npm
           cache-dependency-path: package-lock.json
       - run: make deps-frontend
index 35ac7598f6b75a7435eb583fdd3c44b521422d9b..b84c69e4a0f5d283404d44090dfb34f1a0dd195f 100644 (file)
@@ -23,7 +23,7 @@ jobs:
           check-latest: true
       - uses: actions/setup-node@v4
         with:
-          node-version: 20
+          node-version: 22
           cache: npm
           cache-dependency-path: package-lock.json
       - run: make deps-frontend frontend deps-backend
index 10fe94b2965a7e6c95f15ecbfacbfd925c92503f..6e1b6e0758417b4b6ec9d29ab023fac956ac8cdd 100644 (file)
@@ -22,7 +22,7 @@ jobs:
           check-latest: true
       - uses: actions/setup-node@v4
         with:
-          node-version: 20
+          node-version: 22
           cache: npm
           cache-dependency-path: package-lock.json
       - run: make deps-frontend deps-backend
index 55908d3657ac853f60599459f91c5976ec79102d..41037df29cbc00b8db8b772c47fa901a976b5be9 100644 (file)
@@ -23,7 +23,7 @@ jobs:
           check-latest: true
       - uses: actions/setup-node@v4
         with:
-          node-version: 20
+          node-version: 22
           cache: npm
           cache-dependency-path: package-lock.json
       - run: make deps-frontend deps-backend
index edf7ea1270df7c0610a24cc1bb5260ec809bb740..a23e6982000ae1a8bd3a9f8d09f81e1e8535b243 100644 (file)
@@ -25,7 +25,7 @@ jobs:
           check-latest: true
       - uses: actions/setup-node@v4
         with:
-          node-version: 20
+          node-version: 22
           cache: npm
           cache-dependency-path: package-lock.json
       - run: make deps-frontend deps-backend
index 9eadad2b944523d2de4d2591abc7392c7a53ecd2..1890b82dcfa7b92198d449f590a5dcec6f075ed4 100644 (file)
@@ -5,11 +5,11 @@
         "systems": "systems"
       },
       "locked": {
-        "lastModified": 1710146030,
-        "narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=",
+        "lastModified": 1726560853,
+        "narHash": "sha256-X6rJYSESBVr3hBoH0WbKE5KvhPU5bloyZ2L4K60/fPQ=",
         "owner": "numtide",
         "repo": "flake-utils",
-        "rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a",
+        "rev": "c1dfcf08411b08f6b8615f7d8971a2bfa81d5e8a",
         "type": "github"
       },
       "original": {
     },
     "nixpkgs": {
       "locked": {
-        "lastModified": 1720542800,
-        "narHash": "sha256-ZgnNHuKV6h2+fQ5LuqnUaqZey1Lqqt5dTUAiAnqH0QQ=",
+        "lastModified": 1731139594,
+        "narHash": "sha256-IigrKK3vYRpUu+HEjPL/phrfh7Ox881er1UEsZvw9Q4=",
         "owner": "nixos",
         "repo": "nixpkgs",
-        "rev": "feb2849fdeb70028c70d73b848214b00d324a497",
+        "rev": "76612b17c0ce71689921ca12d9ffdc9c23ce40b2",
         "type": "github"
       },
       "original": {
index e2f273e3418d9cad391940841e41f6eede49847c..2c9d74c137ecbb8326a92b79bc36f097274d1c83 100644 (file)
--- a/flake.nix
+++ b/flake.nix
@@ -22,7 +22,7 @@
             gzip
 
             # frontend
-            nodejs_20
+            nodejs_22
 
             # linting
             python312
index a0a85d85af0c965d3527132676bb9084f4c796f4..c4c31968e0e530e7fab4fd6907fc117d9705dbc8 100644 (file)
@@ -44,7 +44,7 @@ parts:
     source: .
     stage-packages: [ git, sqlite3, openssh-client ]
     build-packages: [ git, libpam0g-dev, libsqlite3-dev, build-essential]
-    build-snaps: [ go/1.23/stable, node/20/stable ]
+    build-snaps: [ go/1.23/stable, node/22/stable ]
     build-environment:
       - LDFLAGS: ""
     override-pull: |