Skip to content

Commit f5313fd

Browse files
authored
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
1 parent d7f1853 commit f5313fd

3 files changed

Lines changed: 5 additions & 4 deletions

File tree

.github/workflows/cypress.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
browser: chrome
2929
build: yarn build
3030
edge:
31-
runs-on: windows-latest
31+
runs-on: ubuntu-latest
3232
steps:
3333
- uses: actions/setup-node@v3
3434
with:

cypress.config.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { defineConfig } from 'cypress'
1+
import { defineConfig } from 'cypress';
22

33
export default defineConfig({
44
env: {
@@ -11,9 +11,9 @@ export default defineConfig({
1111
// We've imported your old cypress plugins here.
1212
// You may want to clean this up later by importing these.
1313
setupNodeEvents(on, config) {
14-
return require('./test/cypress/plugins/index.ts')(on, config)
14+
return require('./test/cypress/plugins/index.ts')(on, config);
1515
},
1616
specPattern: 'test/cypress/tests/**/*.cy.{js,jsx,ts,tsx}',
1717
supportFile: 'test/cypress/support/index.ts',
1818
},
19-
})
19+
});

docs/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
- `Improvement`*Dependencies* — Upgrade TypeScript to v5.
1313
- `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.
1414
- `Improvement`*Dependencies* — Upgrade Cypress to v12, upgrade related libraries to latest versions.
15+
- `CI` — Use Ubuntu container for Edge tests runner.
1516

1617
### 2.26.5
1718

0 commit comments

Comments
 (0)