aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/cypress.yml
diff options
context:
space:
mode:
authorLouis Chemineau <louis@chmn.me>2022-12-27 11:44:46 +0100
committerLouis Chemineau <louis@chmn.me>2022-12-27 11:44:46 +0100
commit7a73219412a675f5ad068d90f8654b723482a053 (patch)
treea758430a4a322b6da989a40828eddcab860a86be /.github/workflows/cypress.yml
parentc31e0e3f45ce5fd70d4f74b8cb7a0a0a445ad5a3 (diff)
downloadnextcloud-server-7a73219412a675f5ad068d90f8654b723482a053.tar.gz
nextcloud-server-7a73219412a675f5ad068d90f8654b723482a053.zip
Checkout current branch in cypress tests in CI
Signed-off-by: Louis Chemineau <louis@chmn.me>
Diffstat (limited to '.github/workflows/cypress.yml')
-rw-r--r--.github/workflows/cypress.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml
index c9579238540..1036e67b51d 100644
--- a/.github/workflows/cypress.yml
+++ b/.github/workflows/cypress.yml
@@ -9,7 +9,7 @@ on:
env:
APP_NAME: viewer
- BRANCH: ${{ github.base_ref }}
+ BRANCH: ${{ github.ref }}
TESTING: true
jobs:
@@ -30,7 +30,7 @@ jobs:
- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
uses: actions/setup-node@v3
with:
- cache: 'npm'
+ cache: "npm"
node-version: ${{ steps.versions.outputs.nodeVersion }}
- name: Set up npm ${{ steps.versions.outputs.npmVersion }}