Switch the base framework from Create React App to Next.JS

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
Renovate Bot 2021-12-25 15:44:24 +00:00 committed by Tilman Vatteroth
parent a979b6ffdd
commit 77a60c6c48
361 changed files with 5130 additions and 9605 deletions

View file

@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [ '12', '14', '16' ]
node: [ '14', '16' ]
name: Test and build with NodeJS ${{ matrix.node }}
steps:
- name: Checkout repository
@ -38,6 +38,6 @@ jobs:
- name: Install dependencies
run: yarn install --frozen-lockfile --prefer-offline
- name: Test Project
run: yarn test
run: yarn test:ci
- name: Build project
run: yarn build:mock

View file

@ -22,7 +22,7 @@ jobs:
uses: actions/cache@v2.1.7
id: build-cache
with:
path: build
path: .next
key: build-${{ github.sha }}
- name: Get yarn cache directory path
@ -56,8 +56,8 @@ jobs:
- uses: actions/upload-artifact@master
with:
name: build
path: build
name: next-build
path: .next
end2end:
name: Perform E2E Test in ${{ matrix.browser }}
@ -79,13 +79,13 @@ jobs:
- name: Download built frontend
uses: actions/download-artifact@master
with:
name: build
path: build
name: next-build
path: .next
- uses: cypress-io/github-action@v2
with:
browser: ${{ matrix.browser }}
start: 'yarn serve:build'
start: 'yarn start:ci'
parallel: true
record: true
group: "UI - ${{ matrix.browser }}"