diff --git a/.github/commonSteps/checkoutAndInstallLibs.steps.yml b/.github/commonSteps/checkoutAndInstallLibs.steps.yml index 72df7a401..8300ece53 100644 --- a/.github/commonSteps/checkoutAndInstallLibs.steps.yml +++ b/.github/commonSteps/checkoutAndInstallLibs.steps.yml @@ -1,9 +1,4 @@ steps: - - uses: actions/checkout@v4 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v4 - with: - node-version: ${{ matrix.node-version }} - run: npm install --legacy-peer-deps env: PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: true diff --git a/.github/commonSteps/checkoutAndInstallLibs.web.steps.yml b/.github/commonSteps/checkoutAndInstallLibs.web.steps.yml index 5da48ef76..525f35317 100644 --- a/.github/commonSteps/checkoutAndInstallLibs.web.steps.yml +++ b/.github/commonSteps/checkoutAndInstallLibs.web.steps.yml @@ -1,9 +1,4 @@ steps: - - uses: actions/checkout@v4 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v4 - with: - node-version: ${{ matrix.node-version }} - uses: shivammathur/setup-php@v2 with: php-version: 7.4 diff --git a/.github/workflows/appiumV2.yml b/.github/workflows/appiumV2.yml index 282616c25..0a0e49e98 100644 --- a/.github/workflows/appiumV2.yml +++ b/.github/workflows/appiumV2.yml @@ -25,6 +25,11 @@ jobs: test-suite: ['appium-quick', 'appium-other', 'ios:appium-quick', 'ios:appium-other'] steps: + - uses: actions/checkout@v4 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v4 + with: + node-version: ${{ matrix.node-version }} - name: Appium common steps uses: ./.github/commonSteps/checkoutAndInstallLibs.steps.yml diff --git a/.github/workflows/doc-generation.yml b/.github/workflows/doc-generation.yml index bae727cf9..f8df6fa77 100644 --- a/.github/workflows/doc-generation.yml +++ b/.github/workflows/doc-generation.yml @@ -14,6 +14,12 @@ jobs: node-version: [ 20.x ] steps: + - uses: actions/checkout@v4 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v4 + with: + node-version: ${{ matrix.node-version }} + - name: Checkout and install dependencies steps uses: ./.github/commonSteps/checkoutAndInstallLibs.steps.yml diff --git a/.github/workflows/dtslint.yml b/.github/workflows/dtslint.yml index 7ecee227b..e480ee61a 100644 --- a/.github/workflows/dtslint.yml +++ b/.github/workflows/dtslint.yml @@ -15,6 +15,12 @@ jobs: matrix: node-version: [20.x] steps: + - uses: actions/checkout@v4 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v4 + with: + node-version: ${{ matrix.node-version }} + - name: Checkout and install dependencies steps uses: ./.github/commonSteps/checkoutAndInstallLibs.steps.yml diff --git a/.github/workflows/expectHelper.yml b/.github/workflows/expectHelper.yml index 225980174..d313a26ed 100644 --- a/.github/workflows/expectHelper.yml +++ b/.github/workflows/expectHelper.yml @@ -22,6 +22,12 @@ jobs: node-version: [20.x] steps: + - uses: actions/checkout@v4 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v4 + with: + node-version: ${{ matrix.node-version }} + - name: Checkout and install dependencies steps uses: ./.github/commonSteps/checkoutAndInstallLibs.steps.yml diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index 9d8a8da22..33f12f2ab 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -44,6 +44,12 @@ jobs: browser: [ 'chromium', 'firefox', 'webkit' ] steps: + - uses: actions/checkout@v4 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v4 + with: + node-version: ${{ matrix.node-version }} + - name: Checkout and install dependencies steps uses: ./.github/commonSteps/checkoutAndInstallLibs.steps.yml