diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 35452ce..25dc6cb 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -13,6 +13,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + - uses: actions/setup-node@v2 + with: + node-version: '16' - run: yarn install - run: yarn test:lint - run: yarn test:prettier diff --git a/package.json b/package.json index e4a9100..75c0346 100644 --- a/package.json +++ b/package.json @@ -7,12 +7,12 @@ "homepage": "https://saasify.sh", "license": "MIT", "engines": { - "node": ">=10" + "node": "16.x" }, "scripts": { "update-deployment": "saasify get amaurymartiny/reacher@latest -o src/lib/deployment.json", - "start": "SKIP_PREFLIGHT_CHECK=true react-app-rewired start", - "build": "SKIP_PREFLIGHT_CHECK=true react-app-rewired build", + "start": "SKIP_PREFLIGHT_CHECK=true react-app-rewired start --openssl-legacy-provider", + "build": "SKIP_PREFLIGHT_CHECK=true react-app-rewired build --openssl-legacy-provider", "analyze": "source-map-explorer 'build/static/js/*.js'", "test": "run-s test:*", "test:lint": "eslint .", diff --git a/public/index.html b/public/index.html index 882e72a..2fcf25a 100644 --- a/public/index.html +++ b/public/index.html @@ -10,7 +10,7 @@ - +