Anyone have a build pipeline for Azure I can look ...
# javascript
n
Anyone have a build pipeline for Azure I can look at?
Wound up be stupid simple:
Copy code
trigger:
  branches:
    include:
      - main

pool:
  vmImage: 'ubuntu-latest'

steps:
  - checkout: self
    fetchDepth: 0

  - script: |
      echo "org.gradle.java.home=$(JAVA_HOME_17_X64)" >> gradle.properties
      export JAVA_HOME=$(JAVA_HOME_17_X64)
      export PATH=$JAVA_HOME/bin:$PATH
      ./gradlew shared:jsBrowserProductionWebpack
    displayName: 'Package for production.'

  - script: |
      ./gradlew shared:publish
    displayName: 'Publish to Azure Artifacts'