Skip to content

Commit

Permalink
add photonclient-lint job
Browse files Browse the repository at this point in the history
  • Loading branch information
srimanachanta committed Jul 1, 2023
1 parent 24c5add commit 3a3a4f7
Showing 1 changed file with 24 additions and 4 deletions.
28 changes: 24 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -191,8 +213,6 @@ jobs:
- run: |
chmod +x gradlew
./gradlew spotlessCheck
# Building photonlib
photonlib-build-host:
env:
MACOSX_DEPLOYMENT_TARGET: 10.14
Expand Down

0 comments on commit 3a3a4f7

Please sign in to comment.