Update 01/01/2025 (#110) #105
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: SonarCloud | |
on: | |
push: | |
jobs: | |
analysis: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0 | |
with: | |
fetch-depth: 0 | |
submodules: recursive | |
- name: Setup Node 18 | |
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1 | |
with: | |
node-version: 18.x | |
- name: firebase/functions | |
run: | | |
set -e | |
npm ci | |
npm run test:coverage | |
working-directory: firebase/functions | |
- name: Setup Node 20 | |
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1 | |
with: | |
node-version: 20.x | |
- name: demo/parser | |
run: | | |
set -e | |
npm ci | |
npm run test:coverage | |
working-directory: demo/parser | |
- name: history | |
run: | | |
set -e | |
npm ci | |
npm run test:coverage | |
working-directory: history | |
- name: transformers/js-dvhcvn | |
run: | | |
set -e | |
npm ci --ignore-scripts | |
npm run test:coverage | |
working-directory: transformers/js-dvhcvn | |
- uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672 # v1.6.5 | |
- name: transformers/dart-dvhcvn | |
run: | | |
set -e | |
dart pub get | |
dart pub global activate coverage | |
dart pub global run coverage:test_with_coverage | |
working-directory: transformers/dart-dvhcvn | |
- uses: SonarSource/sonarcloud-github-action@master | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} |