build(deps-dev): bump @storybook/react from 6.5.16 to 8.1.9 #97
Workflow file for this run
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: 'Review' | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened] | |
workflow_dispatch: | |
permissions: | |
contents: read | |
pull-requests: read # allows SonarCloud to decorate PRs with analysis results | |
jobs: | |
review: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
test_number: | |
- 1 | |
steps: | |
- name: 'Checkout Repository' | |
uses: actions/checkout@v3 | |
- name: Set up NodeJS | |
uses: actions/setup-node@v3.6.0 | |
with: | |
node-version: '17' | |
- name: Test | |
run: | | |
npm i | |
npm run prod | |
npm test | |
npm run coverage | |
# - name: Build docker image | |
# run: docker build -t local . | |
# - name: Run tests on Docker | |
# run: | | |
# docker run -t -v $PWD:/srv -w /srv local \ | |
# npm install && npm run prod && npm run test | |
# - name: 'Dependency Review' | |
# uses: actions/dependency-review-action@v3 | |
- name: Coveralls Parallel | |
uses: coverallsapp/github-action@master | |
with: | |
github-token: ${{ secrets.github_token }} | |
flag-name: run-${{ matrix.test_number }} | |
parallel: true | |
- name: Analyze with SonarCloud | |
# You can pin the exact commit or the version. | |
# uses: SonarSource/sonarcloud-github-action@de2e56b42aa84d0b1c5b622644ac17e505c9a049 | |
# uses: SonarSource/sonarcloud-github-action@156db6fef3e168e4972abb76de0b32bbce8ec77a | |
uses: SonarSource/sonarcloud-github-action@v1.8 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information | |
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} # Generate a token on Sonarcloud.io, add it to the secrets of this repo with the name SONAR_TOKEN (Settings > Secrets > Actions > add new repository secret) | |
with: | |
# Additional arguments for the sonarcloud scanner | |
args: | |
-Dsonar.projectKey=cybermerlin_family-budget | |
-Dsonar.organization=cybermerlin | |
finish: | |
needs: review | |
runs-on: ubuntu-latest | |
steps: | |
- name: Coveralls Finished | |
uses: coverallsapp/github-action@master | |
with: | |
github-token: ${{ secrets.github_token }} | |
parallel-finished: true |