Skip to content

Repository after completing the tutorial #3

Repository after completing the tutorial

Repository after completing the tutorial #3

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
jobs:
main:
runs-on: ubuntu-latest
steps:
- name: Checkout project sources
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Start CI run
run: 'npx nx-cloud start-ci-run --distribute-on="5 linux-medium-js"'
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- uses: nrwl/nx-set-shas@v3
# This line is needed for nx affected to work when CI is running on a PR
- run: git branch --track main origin/main
if: ${{ github.event_name == 'pull_request' }}
- name: Run build with Gradle Wrapper
run: ./nx affected -t test build --parallel=3