Skip to content

Commit

Permalink
add build and test steps
Browse files Browse the repository at this point in the history
  • Loading branch information
henrythasler committed Apr 6, 2024
1 parent 2d2ed71 commit f4a3495
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/sonarcloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,13 @@ jobs:
- uses: actions/checkout@v4 # see https://github.com/actions/checkout
with:
# Disabling shallow clone is recommended for improving relevancy of reporting
fetch-depth: 0
fetch-depth: 0
- uses: actions/setup-node@v4 # see https://github.com/actions/setup-node
with:
node-version: 20
- run: npm ci
- run: npm run build
- run: npm test
- name: Analyze with SonarCloud
# You can pin the exact commit or the version.
uses: SonarSource/sonarcloud-github-action@v2 # see https://github.com/SonarSource/sonarcloud-github-action
Expand Down

0 comments on commit f4a3495

Please sign in to comment.