Skip to content

Merge pull request #175 from Shoutzor/snyk-upgrade-bc7bf4cc54a04676ea… #743

Merge pull request #175 from Shoutzor/snyk-upgrade-bc7bf4cc54a04676ea…

Merge pull request #175 from Shoutzor/snyk-upgrade-bc7bf4cc54a04676ea… #743

Workflow file for this run

name: Test
on:
push:
pull_request:
types: [opened, synchronize, reopened]
jobs:
build:
name: Build test
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v2
-
name: Setup Node 18
uses: actions/setup-node@v3
with:
node-version: 18
-
name: Install packages
run: npm install
-
name: Build dist
run: npm run build
sonarcloud:
name: SonarCloud
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
-
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 }}