mirror of
https://github.com/aleleba/create-react-component-library.git
synced 2025-01-09 05:06:53 -06:00
PR-440978: trying to fix CI.
This commit is contained in:
parent
b2087312c3
commit
07761b4f58
2
.github/workflows/npm-publish.yml
vendored
2
.github/workflows/npm-publish.yml
vendored
@ -19,12 +19,12 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v3
|
||||
# Install NPM dependencies, cache them correctly
|
||||
# and run all Cypress tests
|
||||
- name: Cypress run
|
||||
uses: cypress-io/github-action@v5 # use the explicit version number
|
||||
with:
|
||||
build: npm ci --legacy-peer-deps
|
||||
start: npm run cy:run
|
||||
publish-npm:
|
||||
needs: [ build, cypress-run ]
|
||||
|
2
.github/workflows/npm-test.yml
vendored
2
.github/workflows/npm-test.yml
vendored
@ -25,12 +25,12 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v3
|
||||
# Install NPM dependencies, cache them correctly
|
||||
# and run all Cypress tests
|
||||
- name: Cypress run
|
||||
uses: cypress-io/github-action@v5 # use the explicit version number
|
||||
with:
|
||||
build: npm ci --legacy-peer-deps
|
||||
start: npm run cy:run
|
||||
test-build-package:
|
||||
needs: [ test, cypress-run ]
|
||||
|
Loading…
Reference in New Issue
Block a user