diff --git a/.github/workflows/_meta-build.yaml b/.github/workflows/_meta-build.yaml index d6983e1b..ed459277 100644 --- a/.github/workflows/_meta-build.yaml +++ b/.github/workflows/_meta-build.yaml @@ -1,16 +1,6 @@ on: workflow_call: inputs: - node-versions: - type: string - required: false - default: '["18"]' - description: 'Stringified JSON Array of node versions to build against' - node-version-package: - type: string - required: false - default: '18' - description: 'Set which version of node the container packaged dist should be based on. (MUST be part of the node-versions)' app-version: type: string required: false @@ -35,11 +25,6 @@ jobs: build-node: runs-on: ubuntu-latest - strategy: - fail-fast: true - matrix: - node-version: ${{ fromJson(inputs.node-versions) }} - steps: - name: Checkout Repository uses: actions/checkout@v4.1.7 @@ -47,7 +32,7 @@ jobs: - name: Set up NodeJs uses: actions/setup-node@v4.0.2 with: - node-version: ${{ matrix.node-version }} + node-version: '20' cache: 'npm' - name: Run Npm Build @@ -60,7 +45,7 @@ jobs: - name: Upload Artifacts uses: actions/upload-artifact@v4.3.4 with: - name: assembled-frontend-node${{ matrix.node-version }} + name: assembled-frontend path: |- dist/ bom.* @@ -80,7 +65,7 @@ jobs: - name: Download Artifacts uses: actions/download-artifact@v4.1.8 with: - name: assembled-frontend-node${{ inputs.node-version-package }} + name: assembled-frontend - name: Set up QEMU uses: docker/setup-qemu-action@v3.1.0 diff --git a/.github/workflows/ci-build.yaml b/.github/workflows/ci-build.yaml index 2cb3c360..82153e8c 100644 --- a/.github/workflows/ci-build.yaml +++ b/.github/workflows/ci-build.yaml @@ -17,8 +17,6 @@ jobs: call-build: uses: ./.github/workflows/_meta-build.yaml with: - node-versions: '["18", "20"]' - node-version-package: '18' app-version: 'snapshot' publish-container: ${{ github.ref_name == 'main' || startsWith(github.ref_name, 'feature-') }} ref-name: ${{ github.ref_name }} diff --git a/.github/workflows/ci-publish.yaml b/.github/workflows/ci-publish.yaml index c37a5375..01e23b71 100644 --- a/.github/workflows/ci-publish.yaml +++ b/.github/workflows/ci-publish.yaml @@ -57,7 +57,7 @@ jobs: - name: Download Artifacts uses: actions/download-artifact@v4.1.8 with: - name: assembled-frontend-node18 + name: assembled-frontend - name: Create Checksums run: |- diff --git a/.github/workflows/ci-release.yaml b/.github/workflows/ci-release.yaml index 6a5c8d72..65d681da 100644 --- a/.github/workflows/ci-release.yaml +++ b/.github/workflows/ci-release.yaml @@ -26,7 +26,7 @@ jobs: - name: Set up NodeJs uses: actions/setup-node@v4.0.2 with: - node-version: '18' + node-version: '20' cache: 'npm' - name: Bump version and tag via NodeJS diff --git a/.github/workflows/i18n.yaml b/.github/workflows/i18n.yaml index 77c1db95..1b9e5a3d 100644 --- a/.github/workflows/i18n.yaml +++ b/.github/workflows/i18n.yaml @@ -12,9 +12,6 @@ on: permissions: contents: read -env: - NODE_VERSION: 18 - jobs: check: runs-on: ubuntu-latest @@ -26,7 +23,7 @@ jobs: - name: Set up NodeJs uses: actions/setup-node@v4.0.2 with: - node-version: ${{ env.NODE_VERSION }} + node-version: '20' cache: 'npm' - name: Install Dependencies diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 6fd402e1..76e72ca1 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -12,9 +12,6 @@ on: permissions: contents: read -env: - NODE_VERSION: 18 - jobs: lint: runs-on: ubuntu-latest @@ -26,7 +23,7 @@ jobs: - name: Set up NodeJs uses: actions/setup-node@v4.0.2 with: - node-version: ${{ env.NODE_VERSION }} + node-version: '20' cache: 'npm' - name: Install Dependencies diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 00000000..209e3ef4 --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +20 diff --git a/package-lock.json b/package-lock.json index f099688d..c17de217 100644 --- a/package-lock.json +++ b/package-lock.json @@ -80,7 +80,7 @@ "vue-template-compiler": "2.7.16" }, "engines": { - "node": ">= 18", + "node": ">= 20", "npm": ">= 9" } }, diff --git a/package.json b/package.json index 67f7dac8..458bcd88 100644 --- a/package.json +++ b/package.json @@ -103,7 +103,7 @@ "not ie <= 10" ], "engines": { - "node": ">= 18", + "node": ">= 20", "npm": ">= 9" } }