Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Mahbub091 committed Mar 25, 2023
1 parent ec4dad4 commit 9ff618c
Showing 1 changed file with 12 additions and 20 deletions.
32 changes: 12 additions & 20 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,21 @@
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

name: webdriverio-ci

name: WDIO Continuous Integration
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 18
- name: Install
run: npm install
- name: Test
run: npm run e2e
- uses: actions/upload-artifact@v1
if: failure()
with:
name: logs
path: logs
- name: Install Chromiun
run: sudo apt-get install chromium-browser
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: 18.x
- run: npm install
name: Install dependencies
- run: npm run wdio
name: Running E2E tests

0 comments on commit 9ff618c

Please sign in to comment.