This repository has been archived by the owner on Nov 27, 2023. It is now read-only.
feat: bump WDIO version to 8 #434
Workflow file for this run
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: ci-pr-merge | |
on: | |
pull_request: | |
branches: [master] | |
workflow_dispatch: | |
env: | |
USE_SELENOID: true | |
jobs: | |
ci-pr-merge: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js v16.20.0 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16.20.0 | |
- name: Execute e2e with Selenoid | |
uses: ./.github/actions/e2e | |
- name: Get Allure history | |
uses: actions/checkout@v3 | |
if: always() | |
continue-on-error: true | |
with: | |
ref: gh-pages | |
path: gh-pages | |
- name: Generate allure report | |
uses: simple-elf/allure-report-action@master | |
if: always() | |
id: allure-report | |
with: | |
allure_results: allure-results | |
gh_pages: gh-pages | |
allure_report: allure-report | |
allure_history: allure-history | |
keep_reports: 20 | |
- name: Deploy report to Github Pages | |
if: always() | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.WDIO_TOKEN }} | |
publish_dir: allure-history | |
- name: Post the link to the report | |
if: always() | |
uses: Sibz/github-status-action@v1 | |
with: | |
authToken: ${{secrets.GITHUB_TOKEN}} | |
context: 'Test report' | |
state: 'success' | |
sha: ${{ github.event.pull_request.head.sha }} | |
target_url: https://cloudinary.github.io/wdio-allure-ts/${{ github.run_number }}/index.html | |
# - uses: sonots/slack-notice-action@v3 | |
# with: | |
# status: ${{ job.status }} | |
# env: | |
# GITHUB_TOKEN: ${{ secrets.WDIO_TOKEN }} | |
# SLACK_WEBHOOK_URL: ${{ secrets.SLACK_BOT_NOTIFICATION }} | |
# if: always() |