diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 894f4f2b..7e7b80a6 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -10,12 +10,12 @@ on: branches: [ main ] jobs: - build: + build-linux: runs-on: ubuntu-latest strategy: matrix: - node-version: [18, 20] + node-version: [20, 22] steps: - uses: actions/checkout@v3 @@ -50,9 +50,9 @@ jobs: npm run test:unit && npm run build && npm run test:e2e - name: Save test video folder if: always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: - name: video-${{ runner.os }} + name: video-${{ runner.os }}-node${{ matrix.node-version }} if-no-files-found: error path: tests/e2e/ @@ -61,7 +61,7 @@ jobs: strategy: matrix: - node-version: [18, 20] + node-version: [20, 22] steps: - uses: actions/checkout@v3 @@ -98,9 +98,9 @@ jobs: - name: Save test video folder if: always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: - name: video-${{ runner.os }} + name: video-${{ runner.os }}-node${{ matrix.node-version }} if-no-files-found: error path: tests/e2e/ @@ -108,7 +108,7 @@ jobs: runs-on: macos-latest strategy: matrix: - node-version: [18, 20] + node-version: [20, 22] steps: - uses: actions/checkout@v3 @@ -143,8 +143,8 @@ jobs: npm run test:unit && npm run build && npm run test:e2e - name: Save test video folder if: always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: - name: video-${{ runner.os }} + name: video-${{ runner.os }}-node${{ matrix.node-version }} if-no-files-found: error path: tests/e2e/ diff --git a/.nvmrc b/.nvmrc index 209e3ef4..2bd5a0a9 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -20 +22 diff --git a/package-lock.json b/package-lock.json index 32d2703d..1a254104 100644 --- a/package-lock.json +++ b/package-lock.json @@ -37,7 +37,7 @@ "vue": "^3.4.27" }, "engines": { - "node": ">= 18", + "node": ">= 20", "npm": ">= 9" } }, diff --git a/package.json b/package.json index caec9ae1..5506a7ad 100644 --- a/package.json +++ b/package.json @@ -59,7 +59,7 @@ "vue": "^3.4.27" }, "engines": { - "node": ">= 18", + "node": ">= 20", "npm": ">= 9" } }