Skip to content

Features/attribute search #27

Features/attribute search

Features/attribute search #27

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: PR
# Controls when the workflow will run
on:
pull_request:
types: [opened, synchronize, reopened]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
env:
NODE_VERSION: '22.x'
jobs:
pr:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
cache: 'npm'
- name: Install Yarn
run: |
corepack enable
- name: Install
run: |
yarn install
- name: Test
run: |
yarn test
- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}