diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml index 071cf1a5516..da4af850261 100644 --- a/.github/workflows/cypress.yml +++ b/.github/workflows/cypress.yml @@ -18,7 +18,7 @@ jobs: # containers: [1, 2, 3] php-versions: [ '7.4' ] databases: [ 'sqlite' ] - server-versions: [ 'master' ] + server-versions: [ 'stable22' ] steps: - name: Use Node.js ${{ matrix.node-version }} diff --git a/cypress/Dockerfile b/cypress/Dockerfile index 4f2fc4495c7..b90f1f9154f 100644 --- a/cypress/Dockerfile +++ b/cypress/Dockerfile @@ -2,6 +2,7 @@ FROM nextcloudci/server:server-17 RUN mkdir /var/www/html/data RUN chown -R www-data:www-data /var/www/html/data +ENV BRANCH stable22 ENTRYPOINT /usr/local/bin/initAndRun.sh