Refactor funds, add sponsors to api, more efficient sponsors refresh,… #375
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests and Sonar analysis | |
on: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- ".github/**" | |
- ".husky/**" | |
- ".vscode/**" | |
- "README.md" | |
- ".eslintrc.json" | |
- ".prettierrc" | |
- ".nvmrc" | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: "20.10.0" | |
cache: "npm" | |
- run: npm ci | |
- run: npm run test:ci | |
- name: SonarCloud Scan | |
uses: SonarSource/sonarcloud-github-action@master | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} |