Skip to content

Commit

Permalink
feat(ci): try to start with npm
Browse files Browse the repository at this point in the history
  • Loading branch information
ntindle committed Sep 19, 2024
1 parent 6fc2d4e commit 7ebe4f2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/autogpt-builder-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@ jobs:
- name: Install Playwright Browsers
run: npx playwright install --with-deps

- name: Run builder
run: |
npm run dev &
- name: Run tests
run: |
npm run test
Expand Down
10 changes: 5 additions & 5 deletions rnd/autogpt_builder/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@ export default defineConfig({
],

/* Run your local dev server before starting the tests */
webServer: {
command: "npm run prepTests",
url: "http://localhost:3000",
reuseExistingServer: !process.env.CI,
},
// webServer: {
// command: "npm run prepTests",
// url: "http://localhost:3000",
// reuseExistingServer: !process.env.CI,
// },
});

0 comments on commit 7ebe4f2

Please sign in to comment.