diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index cc19748d..a658007c 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -23,13 +23,16 @@ jobs: uses: actions/setup-node@v7 with: node-version: '18.x' - cache: 'npm' + cache: 'yarn' + + - name: Enable Corepack + run: corepack enable - name: Install dependencies - run: npm ci + run: yarn install --immutable - name: Build frontend - run: npm run build + run: yarn run build env: CI: true @@ -299,13 +302,16 @@ jobs: uses: actions/setup-node@v7 with: node-version: '18.x' - cache: 'npm' + cache: 'yarn' - name: Enable Corepack run: corepack enable + - name: Install dependencies + run: yarn install --immutable + - name: Install CycloneDX tooling - run: npm install -g @cyclonedx/cyclonedx-npm + run: yarn global add @cyclonedx/cyclonedx-npm - name: Generate frontend SBOM (CycloneDX) run: |