Skip to content

Merge pull request #3011 from Adyen/chore/stop_stories_setting_onChan… #2354

Merge pull request #3011 from Adyen/chore/stop_stories_setting_onChan…

Merge pull request #3011 from Adyen/chore/stop_stories_setting_onChan… #2354

Workflow file for this run

name: Unit tests and Sonarcloud
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.12.2]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: yarn --frozen-lockfile
- run: yarn build
- run: yarn lint
- run: yarn type-check
- run: yarn test:coverage
- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}