diff --git a/.github/actions/checkoutAndInstallLibs.steps.yml b/.github/actions/checkoutAndInstallLibs.steps.yml index 0d6b5728f..08a8f441b 100644 --- a/.github/actions/checkoutAndInstallLibs.steps.yml +++ b/.github/actions/checkoutAndInstallLibs.steps.yml @@ -1,10 +1,13 @@ -name: 'install deps' -description: 'install deps' -runs: - using: 'composite' - steps: - - uses: actions/checkout@v4 - - run: npm install --legacy-peer-deps - env: - PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: true - PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: true +on: + workflow_call: + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - run: npm install --legacy-peer-deps + env: + PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: true + PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: true diff --git a/.github/actions/checkoutAndInstallLibs.web.steps.yml b/.github/actions/checkoutAndInstallLibs.web.steps.yml index 1dc939962..4c2603a0b 100644 --- a/.github/actions/checkoutAndInstallLibs.web.steps.yml +++ b/.github/actions/checkoutAndInstallLibs.web.steps.yml @@ -1,7 +1,10 @@ -name: 'install php and deps' -description: 'install php and deps' -runs: - using: 'composite' +on: + workflow_call: + +jobs: + build: + runs-on: ubuntu-latest + steps: - uses: actions/checkout@v4 - uses: shivammathur/setup-php@v2 diff --git a/.github/actions/playwright.steps.yml b/.github/actions/playwright.steps.yml index e3c10cb16..f1d138985 100644 --- a/.github/actions/playwright.steps.yml +++ b/.github/actions/playwright.steps.yml @@ -1,7 +1,10 @@ -name: 'playwright steps' -description: 'install deps and start test server' -runs: - using: 'composite' +on: + workflow_call: + +jobs: + build: + runs-on: ubuntu-latest + steps: - uses: actions/checkout@v4 - name: npm install diff --git a/.github/workflows/appiumV2.yml b/.github/workflows/appiumV2.yml index 51a97be31..49c6cdb2a 100644 --- a/.github/workflows/appiumV2.yml +++ b/.github/workflows/appiumV2.yml @@ -30,7 +30,6 @@ jobs: with: node-version: ${{ matrix.node-version }} - - uses: actions/checkout@v4 - name: Appium common steps uses: CodeceptJS/CodeceptJS/.github/actions/checkoutAndInstallLibs.steps.yml diff --git a/.github/workflows/expectHelper.yml b/.github/workflows/expectHelper.yml index ee5cb9600..f21832ac8 100644 --- a/.github/workflows/expectHelper.yml +++ b/.github/workflows/expectHelper.yml @@ -27,7 +27,6 @@ jobs: with: node-version: ${{ matrix.node-version }} - - uses: actions/checkout@v4 - name: Checkout and install dependencies steps uses: CodeceptJS/CodeceptJS/.github/actions/checkoutAndInstallLibs.steps.yml diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index 3e14f8202..1375f3a66 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -49,7 +49,6 @@ jobs: with: node-version: ${{ matrix.node-version }} - - uses: actions/checkout@v4 - name: Checkout and install dependencies steps uses: CodeceptJS/CodeceptJS/.github/actions/checkoutAndInstallLibs.steps.yml