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