diff --git a/.github/workflows/benchmark-cloud.yml b/.github/_workflows/benchmark-cloud.yml similarity index 100% rename from .github/workflows/benchmark-cloud.yml rename to .github/_workflows/benchmark-cloud.yml diff --git a/.github/workflows/benchmark-cy.yml b/.github/_workflows/benchmark-cy.yml similarity index 100% rename from .github/workflows/benchmark-cy.yml rename to .github/_workflows/benchmark-cy.yml diff --git a/.github/workflows/e2e-config-esm-cjs.yml b/.github/_workflows/e2e-config-esm-cjs.yml similarity index 100% rename from .github/workflows/e2e-config-esm-cjs.yml rename to .github/_workflows/e2e-config-esm-cjs.yml diff --git a/.github/workflows/e2e-config-esm-js.yml b/.github/_workflows/e2e-config-esm-js.yml similarity index 100% rename from .github/workflows/e2e-config-esm-js.yml rename to .github/_workflows/e2e-config-esm-js.yml diff --git a/.github/workflows/e2e-config-esm-mjs.yml b/.github/_workflows/e2e-config-esm-mjs.yml similarity index 100% rename from .github/workflows/e2e-config-esm-mjs.yml rename to .github/_workflows/e2e-config-esm-mjs.yml diff --git a/.github/workflows/e2e-config-noesm-js.yml b/.github/_workflows/e2e-config-noesm-js.yml similarity index 100% rename from .github/workflows/e2e-config-noesm-js.yml rename to .github/_workflows/e2e-config-noesm-js.yml diff --git a/.github/workflows/e2e-exports.yml b/.github/_workflows/e2e-exports.yml similarity index 100% rename from .github/workflows/e2e-exports.yml rename to .github/_workflows/e2e-exports.yml diff --git a/.github/workflows/e2e-monorepo.yml b/.github/_workflows/e2e-monorepo.yml similarity index 100% rename from .github/workflows/e2e-monorepo.yml rename to .github/_workflows/e2e-monorepo.yml diff --git a/.github/workflows/e2e-smoke-api.yml b/.github/_workflows/e2e-smoke-api.yml similarity index 100% rename from .github/workflows/e2e-smoke-api.yml rename to .github/_workflows/e2e-smoke-api.yml diff --git a/.github/workflows/e2e-smoke-component.yml b/.github/_workflows/e2e-smoke-component.yml similarity index 100% rename from .github/workflows/e2e-smoke-component.yml rename to .github/_workflows/e2e-smoke-component.yml diff --git a/.github/workflows/e2e-smoke-linux.yml b/.github/_workflows/e2e-smoke-linux.yml similarity index 100% rename from .github/workflows/e2e-smoke-linux.yml rename to .github/_workflows/e2e-smoke-linux.yml diff --git a/.github/workflows/lint.yml b/.github/_workflows/lint.yml similarity index 100% rename from .github/workflows/lint.yml rename to .github/_workflows/lint.yml diff --git a/.github/workflows/unit-tests.yml b/.github/_workflows/unit-tests.yml similarity index 100% rename from .github/workflows/unit-tests.yml rename to .github/_workflows/unit-tests.yml diff --git a/.github/workflows/e2e-cypress-13-ccy-1.10.yml b/.github/workflows/e2e-cypress-compatibility.yml similarity index 71% rename from .github/workflows/e2e-cypress-13-ccy-1.10.yml rename to .github/workflows/e2e-cypress-compatibility.yml index 9b3e3c5..1e2fedb 100644 --- a/.github/workflows/e2e-cypress-13-ccy-1.10.yml +++ b/.github/workflows/e2e-cypress-compatibility.yml @@ -1,10 +1,9 @@ -name: e2e-cypress-13-ccy-1_10 - +name: e2e-cypress-compatibility on: push: jobs: - e2e-cypress-13-ccy-1_10: + e2e-cypress-compatibility: if: "!contains(toJSON(github.event.commits.*.message), '[skip ci]')" runs-on: ubuntu-latest env: @@ -12,19 +11,19 @@ jobs: strategy: matrix: - node-version: ["18"] + cypress-version: ["13", "12"] steps: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: ${{ matrix.node-version }} + node-version: "18" - name: Install dependencies run: npm ci - - name: Install Cypress 13 - run: npm install cypress@13 + - name: Install Cypress ${{ matrix.cypress-version }} + run: npm install cypress@${{ matrix.cypress-version }} - name: Build run: npm run build @@ -36,6 +35,7 @@ jobs: CURRENTS_RUN_BASE_URL: ${{ secrets.CURRENTS_RUN_BASE_URL }} CURRENTS_PROJECT_ID: ${{ secrets.CURRENTS_PROJECT_ID }} CURRENTS_RECORD_KEY: ${{ secrets.CURRENTS_RECORD_KEY }} + CYPRESS_VERSION: ${{ matrix.cypress-version }} run: > npx jest diff --git a/e2e/cypress-13-demo/__tests__/run.test.ts b/e2e/cypress-13-demo/__tests__/run.test.ts index e56c015..aca4af5 100644 --- a/e2e/cypress-13-demo/__tests__/run.test.ts +++ b/e2e/cypress-13-demo/__tests__/run.test.ts @@ -12,7 +12,8 @@ const testSpecs = [ ]; let result: any = null; -describe("Cypress 13 compatible output", () => { +// eslint-disable-next-line +describe(`Cypress ${process.env.CYPRESS_VERSION} compatibility`, () => { jest.setTimeout(60 * 1000 * 5); beforeAll(async () => {