From 42e7c2b92df1eb8d902c422aa48433cd44f3d541 Mon Sep 17 00:00:00 2001 From: Alejandro Lembke Barrientos Date: Fri, 3 Mar 2023 08:42:58 -0600 Subject: [PATCH] PR-440978: trying to fix CI. --- .github/workflows/npm-publish.yml | 4 +++- .github/workflows/npm-test.yml | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) 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 ]