Skip to content

Commit

Permalink
playwright github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Korbinian Eckstein committed Jan 26, 2024
1 parent 2d1243c commit 8b2e7c5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,8 @@ jobs:
with:
node-version: 18
- name: Install dependencies
run: npm install && npm ci
run: yarn install --frozen-lockfile
working-directory: ./niivue
- name: Start Webview
run: yarn start:webview &
- name: Install Playwright Browsers
run: npx playwright install --with-deps
working-directory: ./niivue
Expand Down
12 changes: 6 additions & 6 deletions niivue/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@ export default defineConfig({
],

/* Run your local dev server before starting the tests */
// webServer: {
// command: 'npm run start',
// url: 'http://127.0.0.1:3000',
// reuseExistingServer: !process.env.CI,
// },
});
webServer: {
command: 'yarn start',
url: 'http://127.0.0.1:4000',
reuseExistingServer: !process.env.CI,
},
})

0 comments on commit 8b2e7c5

Please sign in to comment.