Skip to content

Commit

Permalink
chore: rollback Cypress reporter & PR summary (#1364)
Browse files Browse the repository at this point in the history
* chore: rollback Cypress reporter & PR summary
  • Loading branch information
ghiscoding authored Jan 24, 2024
1 parent c43e67a commit 4ce140c
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 344 deletions.
52 changes: 16 additions & 36 deletions .github/workflows/cypress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:
checks: write
pull-requests: write

jobs:
run:
strategy:
Expand Down Expand Up @@ -77,38 +73,22 @@ jobs:
run: pnpm serve:demo &

- name: Run Cypress E2E tests
run: pnpm cypress:ci
# uses: cypress-io/github-action@v6
# with:
# install: false
# # working-directory: packages/dnd
# start: pnpm serve:demo
# # start: pnpm serve:vite
# wait-on: 'http://localhost:8888'
# config-file: test/cypress.config.ts
# browser: chrome
# record: true
# env:
# # pass the Dashboard record key as an environment variable
# CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
# # pass GitHub token to allow accurately detecting a build vs a re-run build
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# Cypress_extended: true

- name: Upload Event File
uses: actions/upload-artifact@v4
with:
name: Event File
path: ${{ github.event_path }}

- name: Upload E2E Test Results
if: always()
uses: actions/upload-artifact@v4
uses: cypress-io/github-action@v6
with:
name: Cypress E2E Test Results
path: |
test/cypress-report/**/*.json
test/cypress-report/**/*.xml
install: false
# working-directory: packages/dnd
start: pnpm serve:demo
# start: pnpm serve:vite
wait-on: 'http://localhost:8888'
config-file: test/cypress.config.ts
browser: chrome
record: true
env:
# pass the Dashboard record key as an environment variable
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
# pass GitHub token to allow accurately detecting a build vs a re-run build
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Cypress_extended: true

- uses: actions/upload-artifact@v4
if: failure()
Expand All @@ -131,4 +111,4 @@ jobs:
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./website
publish_dir: ./website
39 changes: 0 additions & 39 deletions .github/workflows/publish-cypress-results.yml

This file was deleted.

3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@
"@typescript-eslint/parser": "^6.19.0",
"cross-env": "^7.0.3",
"cypress": "^13.6.3",
"cypress-multi-reporters": "^1.6.4",
"dotenv": "^16.3.2",
"eslint": "^8.56.0",
"eslint-plugin-cypress": "^2.15.1",
Expand All @@ -81,8 +80,6 @@
"jest-extended": "^4.0.2",
"jsdom": "^23.2.0",
"jsdom-global": "^3.0.2",
"mocha": "^10.2.0",
"mochawesome": "^7.1.3",
"moment-mini": "^2.29.4",
"npm-run-all2": "^6.1.1",
"pnpm": "^8.14.1",
Expand Down
1 change: 0 additions & 1 deletion packages/common/src/extensions/slickRowBasedEdit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@ export class SlickRowBasedEdit {
this._eventHandler.subscribe(dataView.onRowsOrCountChanged, this.handleAllRowRerender.bind(this));

this.translate();
this._grid.invalidate();
}

destroy() {
Expand Down
Loading

0 comments on commit 4ce140c

Please sign in to comment.