Skip to content

test: add first e2e test implemented with webdriverio #65

test: add first e2e test implemented with webdriverio

test: add first e2e test implemented with webdriverio #65

Workflow file for this run

name: Build
on:
push:
branches:
- '**'
pull_request:
types: [opened, synchronize, reopened]
env:
HUSKY: 0
jobs:
Build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- uses: actions/setup-node@v3
with:
node-version: 'latest'
- name: Environment details
run: npm version
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Test
run: npm run test
- name: Publish Test Results
uses: EnricoMi/publish-unit-test-result-action@v2
if: always()
with:
files: 'test-results.xml'
- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}