From 69fa169a718e6462d8e81a9e7efc67e2af59d626 Mon Sep 17 00:00:00 2001 From: Alejandro Lembke Barrientos Date: Tue, 7 Mar 2023 11:39:02 -0600 Subject: [PATCH] PR-579798: trying to fix Cypress component testing. --- .github/workflows/npm-publish.yml | 3 +++ .github/workflows/npm-test.yml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index bc0b04b..8e7f206 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -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 ] diff --git a/.github/workflows/npm-test.yml b/.github/workflows/npm-test.yml index 66a7d24..ea83c0c 100644 --- a/.github/workflows/npm-test.yml +++ b/.github/workflows/npm-test.yml @@ -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 ]