From dd201ef2bf999011dac4fa8a8a8254c22ec99599 Mon Sep 17 00:00:00 2001 From: Guilherme Branco Stracini Date: Sat, 11 Jan 2025 23:49:42 +0000 Subject: [PATCH] Update sonar-cloud.yml --- .github/workflows/sonar-cloud.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/sonar-cloud.yml b/.github/workflows/sonar-cloud.yml index adf8d63..3201505 100644 --- a/.github/workflows/sonar-cloud.yml +++ b/.github/workflows/sonar-cloud.yml @@ -19,8 +19,16 @@ jobs: with: fetch-depth: 0 + - name: Set up Node.js 22 + uses: actions/setup-node@v4 + with: + node-version: 22.x + - name: Install dependencies - run: npm install + run: npm ci + + - name: Build + run: npm run build - name: Test and coverage run: npm run test:coverage