chore(deps): update dependency prettier to v3 #2134
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
on: push | |
name: CI | |
jobs: | |
build: | |
name: npm build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '14.x' | |
- run: npm ci | |
- run: npm test | |
- run: npm run test:mutate | |
env: | |
STRYKER_DASHBOARD_API_KEY: ${{ secrets.STRYKER_DASHBOARD_API_KEY }} | |
- run: npm run coveralls | |
env: | |
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} | |
COVERALLS_SERVICE_NAME: Github Actions main.workflow | |
- run: npm run prettier:check | |
- run: npm start | |
- name: SonarCloud Scan | |
uses: sonarsource/sonarcloud-github-action@master | |
with: | |
args: > | |
-Dsonar.organization=doppelganger9-github | |
-Dsonar.projectKey=doppelganger9_fruit-basket | |
-Dsonar.exclusions=node_modules/**/*,coverage/**/*,reports/**/*,**/*.config.js,**/*.conf.js | |
-Dsonar.javascript.lcov.reportPaths=coverage/lcov.info | |
-Dsonar.language=js | |
-Dsonar.tests=. | |
-Dsonar.test.inclusions=**/*.spec.js | |
-Dsonar.sources=. | |
-Dsonar.verbose=true | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} |