mirror of
https://github.com/codex-team/editor.js
synced 2024-06-20 14:45:07 +02:00
ci(tests): improve workflow for running tests (#2328)
* ci: use ubuntu container for edge runner * chore: upgrade CHANGELOG.md * chore: fix linter in cypress config
This commit is contained in:
parent
d7f1853ca1
commit
f5313fda40
2
.github/workflows/cypress.yml
vendored
2
.github/workflows/cypress.yml
vendored
|
@ -28,7 +28,7 @@ jobs:
|
|||
browser: chrome
|
||||
build: yarn build
|
||||
edge:
|
||||
runs-on: windows-latest
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { defineConfig } from 'cypress'
|
||||
import { defineConfig } from 'cypress';
|
||||
|
||||
export default defineConfig({
|
||||
env: {
|
||||
|
@ -11,9 +11,9 @@ export default defineConfig({
|
|||
// We've imported your old cypress plugins here.
|
||||
// You may want to clean this up later by importing these.
|
||||
setupNodeEvents(on, config) {
|
||||
return require('./test/cypress/plugins/index.ts')(on, config)
|
||||
return require('./test/cypress/plugins/index.ts')(on, config);
|
||||
},
|
||||
specPattern: 'test/cypress/tests/**/*.cy.{js,jsx,ts,tsx}',
|
||||
supportFile: 'test/cypress/support/index.ts',
|
||||
},
|
||||
})
|
||||
});
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
- `Improvement` — *Dependencies* — Upgrade TypeScript to v5.
|
||||
- `Fix` — *ToolsAPI* — `pasteConfig` getter with `false` value could be used to disable paste handling by Editor.js core. Could be useful if your tool has its own paste handler.
|
||||
- `Improvement` — *Dependencies* — Upgrade Cypress to v12, upgrade related libraries to latest versions.
|
||||
- `CI` — Use Ubuntu container for Edge tests runner.
|
||||
|
||||
### 2.26.5
|
||||
|
||||
|
|
Loading…
Reference in a new issue