mirror of
https://github.com/aleleba/create-react-ssr.git
synced 2025-01-09 21:46:56 -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
|
- run: npm test
|
||||||
cypress-run:
|
cypress-run:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
env:
|
||||||
|
PORT: 3000
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
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
|
- run: npm test
|
||||||
cypress-run:
|
cypress-run:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
env:
|
||||||
|
PORT: 3000
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
@ -5,7 +5,7 @@ export default defineConfig({
|
|||||||
/*setupNodeEvents(on, config) {
|
/*setupNodeEvents(on, config) {
|
||||||
// implement node event listeners here
|
// implement node event listeners here
|
||||||
},*/
|
},*/
|
||||||
baseUrl: 'http://localhost',
|
baseUrl: 'http://localhost:3000',
|
||||||
specPattern: 'cypress/e2e/**/*.{js,jsx,ts,tsx}',
|
specPattern: 'cypress/e2e/**/*.{js,jsx,ts,tsx}',
|
||||||
experimentalRunAllSpecs: true,
|
experimentalRunAllSpecs: true,
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user