diff --git a/.github/workflows/api-manual.yml b/.github/workflows/api-manual.yml index 7d68603228..4c1cb45671 100644 --- a/.github/workflows/api-manual.yml +++ b/.github/workflows/api-manual.yml @@ -12,9 +12,6 @@ jobs: buildAndTest: name: Build and Test (Manual) runs-on: [self-hosted, Linux, medium, ephemeral] - container: - image: cypress/browsers:node-20.14.0-chrome-126.0.6478.114-1-ff-127.0.1-edge-126.0.2592.61-1 - options: --user 1001 services: ipfs-node: image: ipfs/kubo:latest @@ -131,11 +128,13 @@ jobs: IPFS_PUBLIC_GATEWAY: http://localhost:8080/ipfs/${cid} - name: Run tests with Cypress - run: | - pushd e2e-tests - npm install --force - npx cypress run --browser chrome --headless --env "portApi=3002,operatorId=${{ secrets.CI_HEDERA_ACCOUNT }},operatorKey=${{ secrets.CI_HEDERA_PRIV_KEY }},grepTags=${{ inputs.tags }},grepFilterSpecs=true" --spec cypress/e2e/api-tests/**/*.cy.js - popd + uses: cypress/browsers:node-20.14.0-chrome-126.0.6478.114-1-ff-127.0.1-edge-126.0.2592.61-1 + with: + cmd: pushd e2e-tests + build: npm install --force + start: npx cypress run --headless --env "portApi=3002,operatorId=${{ secrets.CI_HEDERA_ACCOUNT }},operatorKey=${{ secrets.CI_HEDERA_PRIV_KEY }},grepTags=${{ inputs.tags }},grepFilterSpecs=true" --spec cypress/e2e/api-tests/**/*.cy.js + browser: cypress + cmd: popd - name: Publish API Test Results uses: EnricoMi/publish-unit-test-result-action@30eadd5010312f995f0d3b3cff7fe2984f69409e # v2.16.1