Skip to content

Merge pull request #300 from adobe/release-v1.9.1 #212

Merge pull request #300 from adobe/release-v1.9.1

Merge pull request #300 from adobe/release-v1.9.1 #212

Workflow file for this run

name: Run SonarCloud on main
# This action runs when a branch has been merged to main.
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
- name: Install Dependencies 📦
run: yarn install
- name: Lint 🧼
run: yarn lint
- name: Test 🧪
run: yarn test
- name: SonarCloud 🔬
uses: sonarSource/sonarcloud-github-action@v2.0.2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}