Skip to content

Commit

Permalink
Publish build scans for CI builds
Browse files Browse the repository at this point in the history
  • Loading branch information
bigdaz committed Jan 20, 2025
1 parent c9dc8a7 commit e6f332e
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
16 changes: 15 additions & 1 deletion .github/workflows/ci-check-and-unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ permissions:
jobs:
check-format-and-unit-test:
runs-on: ubuntu-latest

steps:
- name: Checkout sources
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
Expand All @@ -31,13 +32,26 @@ jobs:
with:
gradle-version: "8.12"

- name: Check formatting and compile
- name: Install npm dependencies
run: |
npm clean-install
working-directory: sources

- name: Check formatting and compile
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.DV_SOLUTIONS_ACCESS_KEY }}'

- name: Run unit tests
run: |
npm test
working-directory: sources
env:
NODE_OPTIONS: '-r @gradle/develocity-agent/preload'
DEVELOCITY_URL: 'https://ge.solutions-team.gradle.com'
DEVELOCITY_ACCESS_KEY: '${{ secrets.DV_SOLUTIONS_ACCESS_KEY }}'
6 changes: 5 additions & 1 deletion .github/workflows/ci-update-dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,11 @@ jobs:
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 }}

- name: Copy the generated sources/dist directory to the top-level dist
run: |
cp -r sources/dist .
Expand Down

0 comments on commit e6f332e

Please sign in to comment.