From 74628b9f13cb5d897a4d6bbbe5f0aebb72d3a515 Mon Sep 17 00:00:00 2001 From: daz Date: Tue, 21 Jan 2025 09:55:18 -0700 Subject: [PATCH] Fix npm for update-dist --- .github/workflows/ci-update-dist.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci-update-dist.yml b/.github/workflows/ci-update-dist.yml index 1f43272..5de01f7 100644 --- a/.github/workflows/ci-update-dist.yml +++ b/.github/workflows/ci-update-dist.yml @@ -33,16 +33,20 @@ jobs: cache: npm cache-dependency-path: sources/package-lock.json - - name: Build distribution + - name: Install npm dependencies run: | npm clean-install + working-directory: sources + + - name: Build distribution + run: | npm run check npm run compile working-directory: sources env: NODE_OPTIONS: '-r @gradle/develocity-agent/preload' - DEVELOCITY_URL: https://ge.solutions-team.gradle.com - DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }} + DEVELOCITY_URL: 'https://ge.solutions-team.gradle.com' + DEVELOCITY_ACCESS_KEY: '${{ secrets.DV_SOLUTIONS_ACCESS_KEY }}' - name: Copy the generated sources/dist directory to the top-level dist run: |