Skip to content

Node.js CI

Node.js CI #453

Workflow file for this run

name: Node.js CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
schedule:
- cron: '0 12 * * *'
jobs:
build:
name: Run Integration Tests
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Use Node.js 21
uses: actions/[email protected]
with:
node-version: 21
cache: 'npm'
- run: npm install
- run: npm test
sonarcloud:
name: Run SonarCloud
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
fetch-depth: 0
- name: Setup Node.js environment
uses: actions/[email protected]
with:
node-version: 21
- name: SonarCloud Scan
uses: SonarSource/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}