diff --git a/.github/workflows/e2e-cypress-12-ccy-1.10.yml b/.github/workflows/e2e-cypress-12-ccy-1.10.yml index 2650587..19f2046 100644 --- a/.github/workflows/e2e-cypress-12-ccy-1.10.yml +++ b/.github/workflows/e2e-cypress-12-ccy-1.10.yml @@ -1,41 +1,41 @@ name: e2e-cypress-12-ccy-1_10 on: - push: + push: jobs: - e2e-cypress-12-ccy-1_10: - if: "!contains(toJSON(github.event.commits.*.message), '[skip ci]')" - runs-on: ubuntu-latest - env: - DEBUG: currents:* + e2e-cypress-12-ccy-1_10: + if: "!contains(toJSON(github.event.commits.*.message), '[skip ci]')" + runs-on: ubuntu-latest + env: + DEBUG: currents:* - strategy: - matrix: - node-version: ["18"] + strategy: + matrix: + node-version: ["18"] - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 - with: - node-version: ${{ matrix.node-version }} + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} - - name: Install dependencies - run: npm ci + - name: Install dependencies + run: npm ci - - name: Install Cypress 12.17.4 - run: npm install cypress@12.17.4 + - name: Install Cypress 12.17.4 + run: npm install cypress@12.17.4 - - name: Build - run: npm run build + - name: Build + run: npm run build - - name: Run compatibility tests - working-directory: ./e2e/cypress-12-demo - env: - CURRENTS_API_KEY: ${{ secrets.CURRENTS_API_KEY }} - CURRENTS_RUN_BASE_URL: ${{ secrets.CURRENTS_RUN_BASE_URL }} - CURRENTS_PROJECT_ID: ${{ secrets.CURRENTS_PROJECT_ID }} - CURRENTS_RECORD_KEY: ${{ secrets.CURRENTS_RECORD_KEY }} + - name: Run compatibility tests + working-directory: ./e2e/cypress-12-demo + env: + CURRENTS_API_KEY: ${{ secrets.CURRENTS_API_KEY }} + CURRENTS_RUN_BASE_URL: ${{ secrets.CURRENTS_RUN_BASE_URL }} + CURRENTS_PROJECT_ID: ${{ secrets.CURRENTS_PROJECT_ID }} + CURRENTS_RECORD_KEY: ${{ secrets.CURRENTS_RECORD_KEY }} - run: > - npm run test + run: > + npm run test diff --git a/.github/workflows/e2e-cypress-13-ccy-1.10.yml b/.github/workflows/e2e-cypress-13-ccy-1.10.yml index eb702b3..60f7a5c 100644 --- a/.github/workflows/e2e-cypress-13-ccy-1.10.yml +++ b/.github/workflows/e2e-cypress-13-ccy-1.10.yml @@ -1,41 +1,41 @@ name: e2e-cypress-13-ccy-1_10 on: - push: + push: jobs: - e2e-cypress-13-ccy-1_10: - if: "!contains(toJSON(github.event.commits.*.message), '[skip ci]')" - runs-on: ubuntu-latest - env: - DEBUG: currents:* + e2e-cypress-13-ccy-1_10: + if: "!contains(toJSON(github.event.commits.*.message), '[skip ci]')" + runs-on: ubuntu-latest + env: + DEBUG: currents:* - strategy: - matrix: - node-version: ["18"] + strategy: + matrix: + node-version: ["18"] - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 - with: - node-version: ${{ matrix.node-version }} + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} - - name: Install dependencies - run: npm ci + - name: Install dependencies + run: npm ci - - name: Install Cypress 13.1.0 - run: npm install cypress@13.1.0 + - name: Install Cypress 13.1.0 + run: npm install cypress@13.1.0 - - name: Build - run: npm run build + - name: Build + run: npm run build - - name: Run compatibility tests - working-directory: ./e2e/cypress-13-demo - env: - CURRENTS_API_KEY: ${{ secrets.CURRENTS_API_KEY }} - CURRENTS_RUN_BASE_URL: ${{ secrets.CURRENTS_RUN_BASE_URL }} - CURRENTS_PROJECT_ID: ${{ secrets.CURRENTS_PROJECT_ID }} - CURRENTS_RECORD_KEY: ${{ secrets.CURRENTS_RECORD_KEY }} + - name: Run compatibility tests + working-directory: ./e2e/cypress-13-demo + env: + CURRENTS_API_KEY: ${{ secrets.CURRENTS_API_KEY }} + CURRENTS_RUN_BASE_URL: ${{ secrets.CURRENTS_RUN_BASE_URL }} + CURRENTS_PROJECT_ID: ${{ secrets.CURRENTS_PROJECT_ID }} + CURRENTS_RECORD_KEY: ${{ secrets.CURRENTS_RECORD_KEY }} - run: > - npm run test + run: > + npm run test diff --git a/.github/workflows/e2e-exports.yml b/.github/workflows/e2e-exports.yml index 8f7b191..4c20e44 100644 --- a/.github/workflows/e2e-exports.yml +++ b/.github/workflows/e2e-exports.yml @@ -1,38 +1,38 @@ name: e2e-exports on: - push: + push: jobs: - e2e-exports: - if: "!contains(toJSON(github.event.commits.*.message), '[skip ci]')" - runs-on: ubuntu-latest - env: - DEBUG: currents:* - - strategy: - matrix: - node-version: ["18", "16", "14"] - - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 - with: - node-version: ${{ matrix.node-version }} - - - name: Install npm (node14) - run: npm install -g npm@8.19.4 - - - name: Install dependencies - run: npm ci - - - name: Build - run: npm run build - - - name: Link monorepo packages - run: npm install - - - name: Test Exports - working-directory: ./e2e/exports - run: | - npm run testexports + e2e-exports: + if: "!contains(toJSON(github.event.commits.*.message), '[skip ci]')" + runs-on: ubuntu-latest + env: + DEBUG: currents:* + + strategy: + matrix: + node-version: ["18", "16", "14"] + + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} + + - name: Install npm (node14) + run: npm install -g npm@8.19.4 + + - name: Install dependencies + run: npm ci + + - name: Build + run: npm run build + + - name: Link monorepo packages + run: npm install + + - name: Test Exports + working-directory: ./e2e/exports + run: | + npm run testexports diff --git a/.github/workflows/e2e-smoke-windows.yaml b/.github/workflows/e2e-smoke-windows.yaml index 487ab57..ccb2ced 100644 --- a/.github/workflows/e2e-smoke-windows.yaml +++ b/.github/workflows/e2e-smoke-windows.yaml @@ -16,7 +16,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: "16" + node-version: "18" - name: Install dependencies run: npm ci