mirror of
https://github.com/aleleba/create-react-ssr.git
synced 2025-01-09 05:26:58 -06:00
PR-579798: trying to fix Cypress component testing.
This commit is contained in:
parent
220e488570
commit
69fa169a71
3
.github/workflows/npm-publish.yml
vendored
3
.github/workflows/npm-publish.yml
vendored
@ -35,9 +35,12 @@ jobs:
|
||||
uses: actions/checkout@v3
|
||||
# Install NPM dependencies, cache them correctly
|
||||
# and run all Cypress tests
|
||||
- name: Cypress install
|
||||
run: npm i
|
||||
- name: Cypress run
|
||||
uses: cypress-io/github-action@v5 # use the explicit version number
|
||||
with:
|
||||
install: false
|
||||
component: true
|
||||
publish-npm:
|
||||
needs: [ test, cypress-run, cypress-run-component ]
|
||||
|
3
.github/workflows/npm-test.yml
vendored
3
.github/workflows/npm-test.yml
vendored
@ -41,9 +41,12 @@ jobs:
|
||||
uses: actions/checkout@v3
|
||||
# Install NPM dependencies, cache them correctly
|
||||
# and run all Cypress tests
|
||||
- name: Cypress install
|
||||
run: npm i
|
||||
- name: Cypress run
|
||||
uses: cypress-io/github-action@v5 # use the explicit version number
|
||||
with:
|
||||
install: false
|
||||
component: true
|
||||
test-build-package:
|
||||
needs: [ test, cypress-run, cypress-run-component ]
|
||||
|
Loading…
Reference in New Issue
Block a user