Skip to content

RMET-3477 :: OutSystems Wrapper :: Add OneSignal Plugin Manager #3

RMET-3477 :: OutSystems Wrapper :: Add OneSignal Plugin Manager

RMET-3477 :: OutSystems Wrapper :: Add OneSignal Plugin Manager #3

name: Run Unit Tests
on:
workflow_dispatch:
push:
branches: [ main, development ]
pull_request:
branches: [ main, development ]
jobs:
test:
name: Unit-Tests
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 18
- name: Install dependencies
run: npm install
- name: Run tests (with coverage)
run: npm test -- --coverage --ci
- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
env:
SONAR_TOKEN: ${{ secrets. SONAR_TOKEN }}