Skip to content

Commit

Permalink
fix action
Browse files Browse the repository at this point in the history
  • Loading branch information
sidmohanty11 committed Feb 17, 2024
1 parent d6bedcd commit 0d147da
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,13 @@ jobs:
restore-keys: |
${{ runner.os }}-yarn-
- name: Install and build the project
- name: Install dependencies
run: yarn install

- name: Build the project
run: |
yarn
yarn build
- name: Change directory to e2e-react
run: cd packages/e2e-react

- name: Get installed Playwright version
id: playwright-version
run: echo "::set-output name=version::$(yarn why --json @playwright/test | grep -h 'workspace:.' | jq --raw-output '.children[].locator' | sed -e 's/@playwright\/test@.*://')"
Expand All @@ -50,7 +49,7 @@ jobs:
run: npx playwright install --with-deps

- name: Run Playwright tests
run: npx playwright test
run: cd packages/e2e-react && npx playwright test

- name: Upload Playwright report
uses: actions/upload-artifact@v3
Expand Down
2 changes: 1 addition & 1 deletion packages/e2e-react/src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// @ts-expect-error no types served yet
import { EmbeddedChat } from "@embeddedchat/react/dist/esm/index.js";
import { EmbeddedChat } from "@embeddedchat/react";

function App() {
return (
Expand Down

0 comments on commit 0d147da

Please sign in to comment.