From 60b573879b27da486f0e5b34820ae1e19336a7ee Mon Sep 17 00:00:00 2001 From: Marco E <31892221+marcoandre1@users.noreply.github.com> Date: Sat, 14 Jan 2023 20:02:26 -0500 Subject: [PATCH 1/3] Update package.json --- package.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package.json b/package.json index f21e160..14da61c 100644 --- a/package.json +++ b/package.json @@ -59,6 +59,9 @@ "eslintConfig": { "extends": "react-app" }, + "reactSnap": { + "puppeteerArgs": ["--no-sandbox", "--disable-setuid-sandbox"] + }, "browserslist": [ ">0.2%", "not dead", From c9c1daa488ab0533d485682d365393d4d0023a01 Mon Sep 17 00:00:00 2001 From: Marco E <31892221+marcoandre1@users.noreply.github.com> Date: Sat, 14 Jan 2023 20:03:00 -0500 Subject: [PATCH 2/3] Update release-on-master-pr.yml --- .github/workflows/release-on-master-pr.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release-on-master-pr.yml b/.github/workflows/release-on-master-pr.yml index 35d97c7..3c21bad 100644 --- a/.github/workflows/release-on-master-pr.yml +++ b/.github/workflows/release-on-master-pr.yml @@ -17,7 +17,7 @@ concurrency: jobs: # Single deploy job since we're just deploying deploy: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v3 From a10f4d804da250d0219cb85a7806a082f2f9c67e Mon Sep 17 00:00:00 2001 From: Marco E <31892221+marcoandre1@users.noreply.github.com> Date: Sat, 14 Jan 2023 20:41:42 -0500 Subject: [PATCH 3/3] Bump app version --- CHANGELOG.md | 10 ++++++++++ package-lock.json | 4 ++-- package.json | 2 +- src/server/defaultState.js | 2 +- 4 files changed, 14 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c004fbf..1cd1c42 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ # CHANGELOG +## v2.0.5 + +- Add `"puppeteerArgs": ["--no-sandbox", "--disable-setuid-sandbox"]` in `package.json` as recommended in [README](https://github.com/stereobooster/react-snap#containers-and-other-restricted-environments): + + > Puppeteer (Headless Chrome) may fail due to sandboxing issues. To get around this, you may use: + > `"puppeteerArgs": ["--no-sandbox", "--disable-setuid-sandbox"]` + > Read more about [puppeteer troubleshooting](https://github.com/GoogleChrome/puppeteer/blob/master/docs/troubleshooting.md). + +- Set `ubuntu-latest` in Github Actions workflow. The proposed `puppeteer` fix should fix the issue: [There is a phenomenon in which the build does not end in the GitHub Actions (Linux Latest) environment.](https://github.com/stereobooster/react-snap/issues/571) + ## v2.0.4 - Fix #147 language switch button closes correctly when language is choose. diff --git a/package-lock.json b/package-lock.json index de9ee7c..6c09cb7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "modokemdev-website", - "version": "2.0.4", + "version": "2.0.5", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "modokemdev-website", - "version": "2.0.4", + "version": "2.0.5", "license": "MIT", "dependencies": { "@headlessui/react": "^0.2.0", diff --git a/package.json b/package.json index 14da61c..f8cda56 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "modokemdev-website", - "version": "2.0.4", + "version": "2.0.5", "description": "Modokemdev website created using create-react-app", "main": "index.js", "private": true, diff --git a/src/server/defaultState.js b/src/server/defaultState.js index a9e162c..da83fb1 100644 --- a/src/server/defaultState.js +++ b/src/server/defaultState.js @@ -153,7 +153,7 @@ export const defaultState = { bio: [ { language: "en", - text: "Personal blog using minimal-mistakes theme for jekyll .", + text: "Personal blog using minimal-mistakes theme for jekyll.", }, { language: "fr",