diff --git a/.github/workflows/build-release.yaml b/.github/workflows/build-release.yaml index 5da1928627..f8a8eef8b1 100644 --- a/.github/workflows/build-release.yaml +++ b/.github/workflows/build-release.yaml @@ -16,10 +16,11 @@ jobs: working-directory: ./webapp steps: - uses: actions/checkout@master - - name: Use Node.js 16.x - uses: actions/setup-node@v1 + - name: Use Node.js 18.x + uses: actions/setup-node with: - node-version: 16.x + node-version: 18.x + cache: "npm" - name: Set package.json version uses: menduz/oddish-action@master with: @@ -27,7 +28,7 @@ jobs: deterministic-snapshot: true only-update-versions: true - name: Install - run: npm ci --legacy-peer-deps + run: npm install --legacy-peer-deps - name: Build env: NODE_OPTIONS: "--max_old_space_size=4096" diff --git a/webapp/package.json b/webapp/package.json index 151b01660d..7cbc1f8603 100644 --- a/webapp/package.json +++ b/webapp/package.json @@ -86,10 +86,10 @@ "typescript": "^4.9.3" }, "scripts": { - "start": "react-app-rewired start", + "start": "react-app-rewired --openssl-legacy-provider start", "prebuild": "node scripts/prebuild.js", - "build": "CI=false react-scripts build", - "test": "react-app-rewired test", + "build": "CI=false react-scripts --openssl-legacy-provider build", + "test": "react-app-rewired --openssl-legacy-provider test", "test:coverage": "npm run test -- --coverage", "eject": "react-app-rewired eject", "lint": "tslint -p tsconfig.json",