diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0cf51115f0..2fbaee8999 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -14,7 +14,6 @@ on: merge_group: jobs: - # This job builds the client (web view). photonclient-build: # Let all steps run within the photon-client dir. defaults: @@ -46,6 +45,30 @@ jobs: with: name: built-client path: photon-client/dist/ + photonclient-link: + # Let all steps run within the photon-client dir. + defaults: + run: + working-directory: photon-client + + # The type of runner that the job will run on. + runs-on: ubuntu-22.04 + + steps: + # Checkout code. + - uses: actions/checkout@v3 + + # Setup Node.js + - name: Setup Node.js + uses: actions/setup-node@v3 + with: + node-version: 17 + + - name: Install Dependencies + run: npm ci + + - name: Check Formatting + run: npm run lint photon-build-examples: runs-on: ubuntu-22.04 name: "Build Examples" @@ -88,7 +111,6 @@ jobs: chmod +x gradlew ./gradlew copyPhotonlib -x check ./gradlew buildAllExamples -x check --max-workers 2 - photon-build-all: # The type of runner that the job will run on. runs-on: ubuntu-22.04 @@ -191,8 +213,6 @@ jobs: - run: | chmod +x gradlew ./gradlew spotlessCheck - - # Building photonlib photonlib-build-host: env: MACOSX_DEPLOYMENT_TARGET: 10.14