Skip to content

Commit

Permalink
try out GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
kobenguyent committed Jan 26, 2024
1 parent 6e569a0 commit 026d2ef
Show file tree
Hide file tree
Showing 7 changed files with 29 additions and 10 deletions.
5 changes: 0 additions & 5 deletions .github/commonSteps/checkoutAndInstallLibs.steps.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
5 changes: 0 additions & 5 deletions .github/commonSteps/checkoutAndInstallLibs.web.steps.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/appiumV2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/doc-generation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/dtslint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/expectHelper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 026d2ef

Please sign in to comment.