diff --git a/.circleci/_config.yml b/.circleci/_config.yml index 97bae5a..adb9a22 100644 --- a/.circleci/_config.yml +++ b/.circleci/_config.yml @@ -41,7 +41,7 @@ jobs: key: v5-deps-{{ checksum "package-lock.json" }} - name: Install alternative cypress binaries - run: CYPRESS_DOWNLOAD_MIRROR=https://cy-cdn.currents.dev npx cypress install --force + run: CYPRESS_DOWNLOAD_MIRROR=https://cy-cdn.currents.dev npx cypress install@12.17.4 --force - run: npm install - save_cache: diff --git a/.github/_workflows_/e2e-smoke-linux.yml b/.github/_workflows_/e2e-smoke-linux.yml deleted file mode 100644 index 91fdfa6..0000000 --- a/.github/_workflows_/e2e-smoke-linux.yml +++ /dev/null @@ -1,58 +0,0 @@ -name: e2e-smoke-linux - -on: - push: - -jobs: - e2e-smoke: - if: "!contains(toJSON(github.event.commits.*.message), '[skip ci]')" - runs-on: ubuntu-latest - env: - DEBUG: currents:* - - services: - director: - image: agoldis/sorry-cypress-director - ports: - - 1234:1234 - - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 - with: - node-version: "16" - - - name: Install alternative cypress binaries - run: CYPRESS_DOWNLOAD_MIRROR=https://cy-cdn.currents.dev npx cypress install --force - - - name: Install dependencies - run: npm ci - - - name: Build - run: npm run build - - - name: Link monorepo packages - run: npm install - - - name: Run Cypress with cypress-cloud - working-directory: ./examples/webapp - env: - CURRENTS_API_URL: http://localhost:1234 - run: > - npx cypress-cloud run - --record - --parallel - --key some-key - --browser chrome - --tag smoke,linux - --spec "./cypress/e2e_smoke/*.spec.js" - --ci-build-id "smoke-linux-${{ github.repository }}-${{ github.run_id }}-${{ github.run_attempt}}" - - - name: Run in Offline mode - working-directory: ./examples/webapp - run: > - npx cypress-cloud run - --record false - --browser chrome - --tag smoke,linux - --spec "./cypress/e2e_smoke/*.spec.js" diff --git a/.github/e2e-smoke-windows.yaml b/.github/e2e-smoke-windows.yaml index ce9d286..5582f61 100644 --- a/.github/e2e-smoke-windows.yaml +++ b/.github/e2e-smoke-windows.yaml @@ -19,7 +19,7 @@ jobs: node-version: "16" - name: Install alternative cypress binaries - run: CYPRESS_DOWNLOAD_MIRROR=https://cy-cdn.currents.dev npx cypress install --force + run: CYPRESS_DOWNLOAD_MIRROR=https://cy-cdn.currents.dev npx cypress install@12.17.4 --force - name: Install dependencies run: npm ci diff --git a/.github/_workflows_/benchmark-cloud.yml b/.github/workflows/benchmark-cloud.yml similarity index 97% rename from .github/_workflows_/benchmark-cloud.yml rename to .github/workflows/benchmark-cloud.yml index 65b5de3..052dc46 100644 --- a/.github/_workflows_/benchmark-cloud.yml +++ b/.github/workflows/benchmark-cloud.yml @@ -28,7 +28,7 @@ jobs: cache: "npm" - name: Install alternative cypress binaries - run: CYPRESS_DOWNLOAD_MIRROR=https://cy-cdn.currents.dev npx cypress install --force + run: CYPRESS_DOWNLOAD_MIRROR=https://cy-cdn.currents.dev npx cypress install@12.17.4 --force - name: Install dependencies run: npm install diff --git a/.github/_workflows_/benchmark-cy.yml b/.github/workflows/benchmark-cy.yml similarity index 97% rename from .github/_workflows_/benchmark-cy.yml rename to .github/workflows/benchmark-cy.yml index 51b14ad..c3baf12 100644 --- a/.github/_workflows_/benchmark-cy.yml +++ b/.github/workflows/benchmark-cy.yml @@ -28,7 +28,7 @@ jobs: cache: "npm" - name: Install alternative cypress binaries - run: CYPRESS_DOWNLOAD_MIRROR=https://cy-cdn.currents.dev npx cypress install --force + run: CYPRESS_DOWNLOAD_MIRROR=https://cy-cdn.currents.dev npx cypress install@12.17.4 --force - name: Install dependencies run: npm install diff --git a/.github/_workflows_/e2e-config-esm-cjs.yml b/.github/workflows/e2e-config-esm-cjs.yml similarity index 97% rename from .github/_workflows_/e2e-config-esm-cjs.yml rename to .github/workflows/e2e-config-esm-cjs.yml index f7ebe59..6361d20 100644 --- a/.github/_workflows_/e2e-config-esm-cjs.yml +++ b/.github/workflows/e2e-config-esm-cjs.yml @@ -27,7 +27,7 @@ jobs: node-version: ${{ matrix.node-version }} - name: Install alternative cypress binaries - run: CYPRESS_DOWNLOAD_MIRROR=https://cy-cdn.currents.dev npx cypress install --force + run: CYPRESS_DOWNLOAD_MIRROR=https://cy-cdn.currents.dev npx cypress install@12.17.4 --force - name: Install dependencies run: npm ci diff --git a/.github/_workflows_/e2e-config-esm-js.yml b/.github/workflows/e2e-config-esm-js.yml similarity index 97% rename from .github/_workflows_/e2e-config-esm-js.yml rename to .github/workflows/e2e-config-esm-js.yml index eefb768..a95c285 100644 --- a/.github/_workflows_/e2e-config-esm-js.yml +++ b/.github/workflows/e2e-config-esm-js.yml @@ -27,7 +27,7 @@ jobs: node-version: ${{ matrix.node-version }} - name: Install alternative cypress binaries - run: CYPRESS_DOWNLOAD_MIRROR=https://cy-cdn.currents.dev npx cypress install --force + run: CYPRESS_DOWNLOAD_MIRROR=https://cy-cdn.currents.dev npx cypress install@12.17.4 --force - name: Install dependencies run: npm ci diff --git a/.github/_workflows_/e2e-config-esm-mjs.yml b/.github/workflows/e2e-config-esm-mjs.yml similarity index 97% rename from .github/_workflows_/e2e-config-esm-mjs.yml rename to .github/workflows/e2e-config-esm-mjs.yml index 90d3d69..6260b4c 100644 --- a/.github/_workflows_/e2e-config-esm-mjs.yml +++ b/.github/workflows/e2e-config-esm-mjs.yml @@ -27,7 +27,7 @@ jobs: node-version: ${{ matrix.node-version }} - name: Install alternative cypress binaries - run: CYPRESS_DOWNLOAD_MIRROR=https://cy-cdn.currents.dev npx cypress install --force + run: CYPRESS_DOWNLOAD_MIRROR=https://cy-cdn.currents.dev npx cypress install@12.17.4 --force - name: Install dependencies run: npm ci diff --git a/.github/_workflows_/e2e-config-noesm-js.yml b/.github/workflows/e2e-config-noesm-js.yml similarity index 97% rename from .github/_workflows_/e2e-config-noesm-js.yml rename to .github/workflows/e2e-config-noesm-js.yml index 9ad8cc9..7c35988 100644 --- a/.github/_workflows_/e2e-config-noesm-js.yml +++ b/.github/workflows/e2e-config-noesm-js.yml @@ -27,7 +27,7 @@ jobs: node-version: ${{ matrix.node-version }} - name: Install alternative cypress binaries - run: CYPRESS_DOWNLOAD_MIRROR=https://cy-cdn.currents.dev npx cypress install --force + run: CYPRESS_DOWNLOAD_MIRROR=https://cy-cdn.currents.dev npx cypress install@12.17.4 --force - name: Install dependencies run: npm ci diff --git a/.github/_workflows_/e2e-exports.yml b/.github/workflows/e2e-exports.yml similarity index 95% rename from .github/_workflows_/e2e-exports.yml rename to .github/workflows/e2e-exports.yml index 0554491..68994f9 100644 --- a/.github/_workflows_/e2e-exports.yml +++ b/.github/workflows/e2e-exports.yml @@ -21,7 +21,7 @@ jobs: node-version: ${{ matrix.node-version }} - name: Install alternative cypress binaries - run: CYPRESS_DOWNLOAD_MIRROR=https://cy-cdn.currents.dev npx cypress install --force + run: CYPRESS_DOWNLOAD_MIRROR=https://cy-cdn.currents.dev npx cypress install@12.17.4 --force - name: Install npm run: npm install -g npm@latest diff --git a/.github/_workflows_/e2e-monorepo.yml b/.github/workflows/e2e-monorepo.yml similarity index 97% rename from .github/_workflows_/e2e-monorepo.yml rename to .github/workflows/e2e-monorepo.yml index 98c867a..0a9fac6 100644 --- a/.github/_workflows_/e2e-monorepo.yml +++ b/.github/workflows/e2e-monorepo.yml @@ -27,7 +27,7 @@ jobs: node-version: ${{ matrix.node-version }} - name: Install alternative cypress binaries - run: CYPRESS_DOWNLOAD_MIRROR=https://cy-cdn.currents.dev npx cypress install --force + run: CYPRESS_DOWNLOAD_MIRROR=https://cy-cdn.currents.dev npx cypress install@12.17.4 --force - name: Install dependencies run: npm ci diff --git a/.github/_workflows_/e2e-smoke-api.yml b/.github/workflows/e2e-smoke-api.yml similarity index 97% rename from .github/_workflows_/e2e-smoke-api.yml rename to .github/workflows/e2e-smoke-api.yml index 050a345..56a5710 100644 --- a/.github/_workflows_/e2e-smoke-api.yml +++ b/.github/workflows/e2e-smoke-api.yml @@ -23,7 +23,7 @@ jobs: node-version: "16" - name: Install alternative cypress binaries - run: CYPRESS_DOWNLOAD_MIRROR=https://cy-cdn.currents.dev npx cypress install --force + run: CYPRESS_DOWNLOAD_MIRROR=https://cy-cdn.currents.dev npx cypress install@12.17.4 --force - name: Install dependencies run: npm ci diff --git a/.github/_workflows_/e2e-smoke-component.yml b/.github/workflows/e2e-smoke-component.yml similarity index 97% rename from .github/_workflows_/e2e-smoke-component.yml rename to .github/workflows/e2e-smoke-component.yml index 0355ba4..52d9876 100644 --- a/.github/_workflows_/e2e-smoke-component.yml +++ b/.github/workflows/e2e-smoke-component.yml @@ -23,7 +23,7 @@ jobs: node-version: "16" - name: Install alternative cypress binaries - run: CYPRESS_DOWNLOAD_MIRROR=https://cy-cdn.currents.dev npx cypress install --force + run: CYPRESS_DOWNLOAD_MIRROR=https://cy-cdn.currents.dev npx cypress install@12.17.4 --force - name: Install dependencies run: npm ci diff --git a/.github/workflows/e2e-smoke-linux.yml b/.github/workflows/e2e-smoke-linux.yml index bc32eb5..18f3391 100644 --- a/.github/workflows/e2e-smoke-linux.yml +++ b/.github/workflows/e2e-smoke-linux.yml @@ -20,10 +20,10 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: "18" + node-version: "16" - name: Install alternative cypress binaries - run: CYPRESS_DOWNLOAD_MIRROR=https://cy-cdn.currents.dev npx cypress@12.17.4 install --force + run: CYPRESS_DOWNLOAD_MIRROR=https://cy-cdn.currents.dev npx cypress install@12.17.4 --force - name: Install dependencies run: npm ci 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