Skip to content

Commit 3af2f0e

Browse files
committed
Fix e2e pipeline
1 parent 8ccc825 commit 3af2f0e

3 files changed

Lines changed: 3 additions & 4 deletions

File tree

.github/workflows/e2e-testing.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,14 @@ jobs:
3434
install: false
3535
start: pnpm dev:playground
3636
wait-on: 'http://localhost:5173/'
37-
project: ./packages/react-use-intercom
3837

3938
# after the test run completes
4039
# store videos and any screenshots
4140
# NOTE: screenshots will be generated only if E2E test failed
4241
# thus we store screenshots only on failures
4342
# Alternative: create and commit an empty cypress/screenshots folder
4443
# to always have something to upload
45-
- name Upload Cypress artifacts
44+
- name: Upload Cypress artifacts
4645
uses: actions/upload-artifact@v3
4746
if: failure()
4847
with:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"packageManager": "pnpm@7.26.3",
44
"scripts": {
55
"dev": "turbo run dev --filter=react-use-intercom --filter=playground --no-cache --continue",
6-
"dev:playground": "turbo run dev --parallel --filter=playground",
6+
"dev:playground": "turbo run dev --parallel --filter=playground --filter=react-use-intercom",
77
"dev:examples": "turbo run dev --parallel --filter=*-example --filter=react-use-intercom",
88
"test": "turbo run test",
99
"build": "turbo run build",

packages/react-use-intercom/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"test": "jest test",
5050
"test:watch": "jest --watch",
5151
"test:coverage": "jest --coverage",
52-
"e2e": "cypress open",
52+
"e2e": "cypress run",
5353
"e2e:open": "cypress open",
5454
"lint": "eslint src test",
5555
"lint:fix": "eslint --fix",

0 commit comments

Comments
 (0)