diff --git a/README.md b/README.md index e350e15e1..f258594cd 100644 --- a/README.md +++ b/README.md @@ -227,6 +227,25 @@ jobs: browser: chrome ``` +Note that if you are using Firefox and a container, you need to pass a `--user 1001` to the options for the container, otherwise it will not work. +Example: + +```yml +name: E2E in custom container +on: push +jobs: + cypress-run: + runs-on: ubuntu-22.04 + container: + image: cypress/browsers:node18.12.0-chrome106-ff106 + options: --user 1001 + steps: + - uses: actions/checkout@v3 + - uses: cypress-io/github-action@v5 + with: + browser: firefox +``` + ### Env Specify the env argument with `env` parameter