Skip to content

edit

edit #36

Workflow file for this run

name: CI/CD
on:
pull_request:
branches: main
types: [opened, synchronize, reopened]
push:
branches: main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- uses: actions/setup-node@v4
with:
node-version: 18
- uses: oneteme/automation-scripts/.github/actions/sonar-npm-scan@main
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}