Skip to content

Commit

Permalink
chore: workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Hayden0323 committed May 20, 2024
1 parent e206f85 commit 6444335
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 0 deletions.
48 changes: 48 additions & 0 deletions .github/workflows/apps-gauge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: apps / gauge

on:
push:
branches: [main]
paths:
- 'apps/gauge/**'
pull_request:
types: [opened, synchronize]
paths:
- 'apps/gauge/**'

defaults:
run:
# change this if your nextjs app does not live at the root of the repo
working-directory: ./apps/gauge

env:
CI: true

jobs:
ci:
name: continuous integration
timeout-minutes: 30
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v4
with:
fetch-depth: 2

- uses: pnpm/action-setup@v2
with:
version: 8

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 18
cache: pnpm

- name: Install dependencies
run: pnpm install
working-directory: .

- name: Build gauge app
run: pnpm build-gauge-app
working-directory: .
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"build-swap-app": "turbo run build --filter=swap...",
"build-pool-app": "turbo run build --filter=pool...",
"build-market-app": "turbo run build --filter=market...",
"build-gauge-app": "turbo run build --filter=gauge...",
"build-referrals-app": "turbo run build --filter=referrals...",
"build-analytics-app": "turbo run build --filter=analytics...",
"build-packages": "turbo run build --filter={./packages/**}...",
Expand Down

0 comments on commit 6444335

Please sign in to comment.