diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index 37b59240..b57d3c93 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -16,6 +16,10 @@ definitions: image: postgres variables: POSTGRES_HOST_AUTH_METHOD: trust + caches: + npm: $HOME/.npm + cypress: $HOME/.cache/Cypress + aliases: - &lint @@ -39,6 +43,7 @@ aliases: caches: - pip - node + - npm artifacts: - client/cypress/**/*.png - client/cypress/**/*.mp4 @@ -47,7 +52,7 @@ aliases: script: - echo "This pipeline rules!" - *setup-tests - - npm install --prefix client + - npm ci --prefix client - npm run "install:cypress" --prefix client - psql -U $DATABASE_USER -h $DATABASE_HOST -c "create database $DATABASE_NAME" - python server/manage.py dummy_data