Skip to content

Commit

Permalink
Update rollup to new major 3.6.0, adjusted tsconfig
Browse files Browse the repository at this point in the history
* Updated rollup to new major version 3.x (3.6.0)
  and also updated corresponding dependencies
* Adjusted tsconfig to run cypress using ES modules
  (ES2015 is the latest supported version by cypress 11)

Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
  • Loading branch information
susnux committed Dec 6, 2022
1 parent d6ac332 commit 2147862
Show file tree
Hide file tree
Showing 6 changed files with 179 additions and 521 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/cypress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ jobs:
uses: skjnldsv/read-package-engines-version-actions@v1.2
id: versions
with:
fallbackNode: '^12'
fallbackNpm: '^6'
fallbackNode: '^16'
fallbackNpm: '^7'

- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
uses: actions/setup-node@v3
Expand Down Expand Up @@ -82,8 +82,8 @@ jobs:
uses: skjnldsv/read-package-engines-version-actions@v1.2
id: versions
with:
fallbackNode: '^12'
fallbackNpm: '^6'
fallbackNode: '^16'
fallbackNpm: '^7'

- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
uses: actions/setup-node@v3
Expand Down
5 changes: 2 additions & 3 deletions cypress.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,8 @@ export default defineConfig({
videoCompression: false,

e2e: {
// Enable session management and disable isolation
experimentalSessionAndOrigin: true,
testIsolation: 'off',
// Disable isolation
testIsolation: false,

setupNodeEvents(on, config) {
// Remove container after run
Expand Down
Loading

0 comments on commit 2147862

Please sign in to comment.