Skip to content

Commit

Permalink
Merge pull request #3163 from nextcloud/dependabot/npm_and_yarn/nextc…
Browse files Browse the repository at this point in the history
…loud/axios-2.4.0
  • Loading branch information
dependabot[bot] authored Oct 20, 2023
2 parents 8729188 + e2e10ea commit b50164f
Show file tree
Hide file tree
Showing 4 changed files with 275 additions and 55 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/cypress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,8 @@ jobs:
config: defaultCommandTimeout=10000,video=false
tag: ${{ false && github.event_name }}
env:
# https://github.com/cypress-io/github-action/issues/524
npm_package_name: ${{ env.APP_NAME }}
# https://github.com/cypress-io/github-action/issues/124
COMMIT_INFO_MESSAGE: ${{ github.event.pull_request.title }}
COMMIT_INFO_SHA: ${{ github.event.pull_request.head.sha }}
Expand Down
5 changes: 4 additions & 1 deletion cypress/plugins/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,16 @@
// This function is called when a project is opened or re-opened (e.g. due to
// the project's config changing)

const browserify = require('@cypress/browserify-preprocessor')
const cypressSplit = require('cypress-split')
const browserify = require('@cypress/browserify-preprocessor')
const webpack = require('@cypress/webpack-preprocessor')
const webpackOptions = require('@nextcloud/webpack-vue-config')

module.exports = (on, config) => {
cypressSplit(on, config)

on('file:preprocessor', browserify())
on('file:preprocessor', webpack({ webpackOptions }))

return config
}
Loading

0 comments on commit b50164f

Please sign in to comment.