Update GitHub workflows to node.js 18
authorTim Düsterhus <duesterhus@woltlab.com>
Fri, 3 Mar 2023 11:25:38 +0000 (12:25 +0100)
committerTim Düsterhus <duesterhus@woltlab.com>
Fri, 3 Mar 2023 11:25:38 +0000 (12:25 +0100)
.github/workflows/codestyle.yml
.github/workflows/javascript.yml
.github/workflows/typescript.yml

index 2d0855988774b48b04652e606a0ea9e8d641e479..6aa8cb31cfc8f5b27255faf9f5a0111518566169 100644 (file)
@@ -30,7 +30,7 @@ jobs:
     - name: Set up node.js
       uses: actions/setup-node@v3
       with:
-        node-version: "16"
+        node-version: "18"
         cache: "npm"
     - run: npm install
     - name: Run prettier
@@ -50,7 +50,7 @@ jobs:
       - name: Set up node.js
         uses: actions/setup-node@v3
         with:
-          node-version: "16"
+          node-version: "18"
           cache: "npm"
       - run: npm install
       - name: Run prettier
index 7dc230c35b4482e44c0317e0836e194d5c77f370..232a82c086e0c6976c4d65210d81bf8b5c136e97 100644 (file)
@@ -21,7 +21,7 @@ jobs:
     - name: Set up node.js
       uses: actions/setup-node@v3
       with:
-        node-version: "16"
+        node-version: "18"
     - run: echo "::add-matcher::.github/javascript-syntax.json"
     - name: Remove files to be ignored
       run: |
index 04c4fe941f0fa9e1ef4f9a988920a5c45715c7cb..1603f7e0ec8efb543568b6b821878e24b5df9083 100644 (file)
@@ -19,7 +19,7 @@ jobs:
     - name: Set up node.js
       uses: actions/setup-node@v3
       with:
-        node-version: "16"
+        node-version: "18"
         cache: "npm"
     - run: npm install
     - run: npx tsc --noEmit
@@ -33,7 +33,7 @@ jobs:
     - name: Set up node.js
       uses: actions/setup-node@v3
       with:
-        node-version: "16"
+        node-version: "18"
         cache: "npm"
     - run: npm install
     - run: npx eslint .
@@ -48,7 +48,7 @@ jobs:
     - name: Set up node.js
       uses: actions/setup-node@v3
       with:
-        node-version: "16"
+        node-version: "18"
         cache: "npm"
     - run: npm install
     - run: rm -r files/js/WoltLabSuite/