mirror of
https://github.com/aleleba/create-react-ssr.git
synced 2025-01-09 05:26:58 -06:00
PR-421183: trying to fix the pipeline of cypress.
This commit is contained in:
parent
19c805830f
commit
7f25504a21
2
.github/workflows/npm-publish.yml
vendored
2
.github/workflows/npm-publish.yml
vendored
@ -16,6 +16,8 @@ jobs:
|
||||
- run: npm test
|
||||
cypress-run:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
PORT: 3000
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
2
.github/workflows/npm-test.yml
vendored
2
.github/workflows/npm-test.yml
vendored
@ -22,6 +22,8 @@ jobs:
|
||||
- run: npm test
|
||||
cypress-run:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
PORT: 3000
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
@ -5,7 +5,7 @@ export default defineConfig({
|
||||
/*setupNodeEvents(on, config) {
|
||||
// implement node event listeners here
|
||||
},*/
|
||||
baseUrl: 'http://localhost',
|
||||
baseUrl: 'http://localhost:3000',
|
||||
specPattern: 'cypress/e2e/**/*.{js,jsx,ts,tsx}',
|
||||
experimentalRunAllSpecs: true,
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user