Skip to content

Fix/version update

Fix/version update #9

Workflow file for this run

name: Web CI
on:
pull_request:
branches: [ master ]
jobs:
smoke:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./web
steps:
- name: Checkout project
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18
cache: 'npm'
cache-dependency-path: './web/package-lock.json'
- run: npm install
- run: npm run smoke
MochaTests:
needs: [smoke]
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./web
steps:
- name: Checkout project
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18
cache: 'npm'
cache-dependency-path: './web/package-lock.json'
- run: npm install
- run: npm run test
- name: Generate Mochawesome Report
if: always()
run: npm run report:mocha:ci
- name: Export Mochawesome Report
if: always()
uses: actions/upload-artifact@v3
with:
name: MochaHTMLReport
path: web/mochawesome-report
CucumberBDDTests:
needs: [smoke]
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./web
steps:
- name: Checkout project
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18
cache: 'npm'
cache-dependency-path: './web/package-lock.json'
- run: npm install
- run: npm run test:e2e
- name: Generate Cucumber HTML Report
if: always()
run: npm run report:cucumber
- name: Export Cucumber HTML Report
if: always()
uses: actions/upload-artifact@v3
with:
name: CucumberHTMLReport
path: web/reports/cucumber/cucumber-report.html