Skip to content

Commit

Permalink
Merge pull request #86 from javierbrea/release
Browse files Browse the repository at this point in the history
Release v2.3.1
  • Loading branch information
javierbrea authored Apr 7, 2021
2 parents 7e66daf + 5d947de commit b95ca06
Show file tree
Hide file tree
Showing 16 changed files with 2,690 additions and 68 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: ["10.23.0", "12.19.0", "14.15.0", "15.2.0"]
node: ["12.22.1", "14.16.1", "15.14.0"]
steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down Expand Up @@ -54,7 +54,7 @@ jobs:
- name: Download test results
uses: actions/download-artifact@v2
with:
name: coverage-15.2.0
name: coverage-15.14.0
path: coverage
- name: Coveralls
uses: coverallsapp/github-action@master
Expand Down
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,19 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
### Removed
### BREAKING CHANGES

## [2.3.1] - 2021-04-07

### Added
- chore(deps): Support Cypress v7.x in peerDependencies
- test(e2e): Run e2e tests also in Cypress v7.x

### Changed
- chore(pipelines): Update node versions
- chore(pipelines): Do not run tests in Node 10, because it is not supported by Cypress v7.x
- chore(deps): Update devDependencies
- chore(renovate): Configure renovate to not update Cypress to a version higher than 6.x in Cypress 6.x e2e tests folder
- test(e2e): Do not trace npm commands logs until DEBUG environment variable is set to true

## [2.3.0] - 2021-04-04

### Added
Expand Down
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,11 +203,12 @@ export default (on: Cypress.PluginEvents, config: Cypress.PluginConfigOptions):

## Tests

To ensure the plugin stability, it is being tested with Cypress major versions 5.x and 6.x, and new releases will be published for each new Cypress minor or major releases, updating the package E2E tests.
To ensure the plugin stability, it is being tested with Cypress major versions 5.x, 6.x and 7.x, and new releases will be published for each new Cypress minor or major releases, updating the package E2E tests.

Latest versions used in the E2E tests can be checked in the `devDependencies` of the `package.json` files of the E2E tests:
* [Cypress v5](https://github.com/javierbrea/cypress-fail-fast/blob/main/test-e2e/cypress-variants/cypress-5/package.json)
* [Cypress v6](https://github.com/javierbrea/cypress-fail-fast/blob/main/test-e2e/cypress-variants/cypress-6/package.json)
* [Cypress v5.x](https://github.com/javierbrea/cypress-fail-fast/blob/main/test-e2e/cypress-variants/cypress-5/package.json)
* [Cypress v6.x](https://github.com/javierbrea/cypress-fail-fast/blob/main/test-e2e/cypress-variants/cypress-6/package.json)
* [Cypress v7.x](https://github.com/javierbrea/cypress-fail-fast/blob/main/test-e2e/cypress-variants/cypress-7/package.json)

Anyway, if you find any issue for a specific Cypress version, please report it at https://github.com/javierbrea/cypress-fail-fast/issues.

Expand Down
11 changes: 10 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cypress-fail-fast",
"version": "2.3.0",
"version": "2.3.1",
"description": "Skip the rest of Cypress tests on first failure",
"keywords": [
"cypress",
Expand Down Expand Up @@ -32,17 +32,19 @@
"test:unit": "npm run test",
"test:e2e:install": "cd test-e2e && npm i",
"test:e2e:run": "cd test-e2e && npm run test:ci",
"test:e2e:debug": "cross-env npm run test:e2e:install && DEBUG=true npm run test:e2e:run",
"test:e2e:ci": "npm run test:e2e:install && npm run test:e2e:run",
"test:ci": "npm run test && npm run test:mutation && npm run test:e2e:ci",
"test:mutation": "stryker run"
},
"peerDependencies": {
"cypress": "5.x || 6.x"
"cypress": "5.x || 6.x || 7.x"
},
"devDependencies": {
"@stryker-mutator/core": "4.5.1",
"@stryker-mutator/jest-runner": "4.5.1",
"babel-eslint": "10.1.0",
"cross-env": "7.0.3",
"eslint": "7.23.0",
"eslint-config-prettier": "8.1.0",
"eslint-plugin-prettier": "3.3.1",
Expand Down
5 changes: 5 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
"matchPaths": ["test-e2e/cypress-variants/cypress-5/package.json"],
"matchPackageNames": ["cypress"],
"allowedVersions": "<6.0.0"
},
{
"matchPaths": ["test-e2e/cypress-variants/cypress-6/package.json"],
"matchPackageNames": ["cypress"],
"allowedVersions": "<7.0.0"
}
]
}
2 changes: 1 addition & 1 deletion sonar-project.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
sonar.organization=javierbrea
sonar.projectKey=cypress-fail-fast
sonar.projectVersion=2.3.0
sonar.projectVersion=2.3.1

sonar.javascript.file.suffixes=.js
sonar.sourceEncoding=UTF-8
Expand Down
6 changes: 6 additions & 0 deletions test-e2e/commands/support/variants.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ const VARIANTS = [
name: "Cypress 6",
path: "cypress-6",
typescript: false,
skippable: true,
},
{
name: "Cypress 7",
path: "cypress-7",
typescript: false,
},
{
name: "TypeScript",
Expand Down
7 changes: 7 additions & 0 deletions test-e2e/cypress-variants/cypress-7/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# exclude everything
/*

# exception to the rule
!/.gitignore
!/package.json
!/package-lock.json
Loading

0 comments on commit b95ca06

Please sign in to comment.