diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index cf808f3..cc6fbaf 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -19,12 +19,14 @@ 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 install + run: npm install --legacy-peer-deps - name: Cypress run uses: cypress-io/github-action@v5 # use the explicit version number with: + install: false start: npm run cy:run publish-npm: needs: [ build, cypress-run ] diff --git a/.github/workflows/npm-test.yml b/.github/workflows/npm-test.yml index 634d0a2..fb80e83 100644 --- a/.github/workflows/npm-test.yml +++ b/.github/workflows/npm-test.yml @@ -25,12 +25,14 @@ 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 install + run: npm install --legacy-peer-deps - name: Cypress run uses: cypress-io/github-action@v5 # use the explicit version number with: + install: false start: npm run cy:run test-build-package: needs: [ test, cypress-run ]