Skip to content

enable corepack

enable corepack #144

Workflow file for this run

name: Main merge
on:
push:
branches:
- main
env:
CI: true
jobs:
merge:
name: sonar
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: Enable Corepack
run: corepack enable
- name: Set Node
uses: actions/setup-node@v3
with:
node-version: '18.x'
cache: 'yarn'
- name: yarn
run: yarn
- name: build
run: yarn build
- name: Unit Test
run: yarn test
- name: SonarCloud Scan
uses: sonarsource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}