Development #119
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: WDIO Tests | |
on: | |
pull_request: | |
branches: [main] | |
jobs: | |
Slack-Notification: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Slack Notification | |
uses: rtCamp/action-slack-notify@master | |
env: | |
if: always() | |
SLACK_ICON_EMOJI: ':robot_face:' | |
SLACK_USERNAME: WDIO Bot | |
SLACK_MESSAGE: E2E tests are now running. Stay tuned for updates! | |
SLACK_TITLE : 'WDIO Template RUN' | |
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} | |
E2E-RUN: | |
runs-on: ubuntu-latest | |
needs: Slack-Notification | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- name: Run install | |
uses: borales/actions-yarn@v4 | |
with: | |
cmd: install | |
- name: Start WDIO | |
run: npm run wdio-smoke | |