diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 7547857..a2cc62d 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -24,6 +24,7 @@ jobs: - 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 ] diff --git a/.github/workflows/npm-test.yml b/.github/workflows/npm-test.yml index 1f85ed2..37795a6 100644 --- a/.github/workflows/npm-test.yml +++ b/.github/workflows/npm-test.yml @@ -30,6 +30,7 @@ jobs: - 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 ]