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 2e470ed commit 6272ed0
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 21 deletions.
23 changes: 13 additions & 10 deletions .github/actions/checkoutAndInstallLibs.steps.yml
Original file line number Diff line number Diff line change
@@ -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
11 changes: 7 additions & 4 deletions .github/actions/checkoutAndInstallLibs.web.steps.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
11 changes: 7 additions & 4 deletions .github/actions/playwright.steps.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/appiumV2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

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

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

Expand Down

0 comments on commit 6272ed0

Please sign in to comment.