Fix npm for update-dist

This commit is contained in:
daz 2025-01-21 09:55:18 -07:00
parent e4f356955f
commit 74628b9f13
No known key found for this signature in database

View File

@ -33,16 +33,20 @@ jobs:
cache: npm cache: npm
cache-dependency-path: sources/package-lock.json cache-dependency-path: sources/package-lock.json
- name: Build distribution - name: Install npm dependencies
run: | run: |
npm clean-install npm clean-install
working-directory: sources
- name: Build distribution
run: |
npm run check npm run check
npm run compile npm run compile
working-directory: sources working-directory: sources
env: env:
NODE_OPTIONS: '-r @gradle/develocity-agent/preload' NODE_OPTIONS: '-r @gradle/develocity-agent/preload'
DEVELOCITY_URL: https://ge.solutions-team.gradle.com DEVELOCITY_URL: 'https://ge.solutions-team.gradle.com'
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }} DEVELOCITY_ACCESS_KEY: '${{ secrets.DV_SOLUTIONS_ACCESS_KEY }}'
- name: Copy the generated sources/dist directory to the top-level dist - name: Copy the generated sources/dist directory to the top-level dist
run: | run: |