Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
majkshkurti committed Aug 18, 2023
1 parent f3b5b95 commit 95960a4
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 30 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/client-check-types.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ defaults:
working-directory: app/client

jobs:
check-types:
typecheck:
runs-on: ubuntu-latest
steps:
- name: 📥 Checkout
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/client-nextjs-bundle-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ defaults:

jobs:
build:
name: Production build
if: ${{ github.event_name == 'push' }}
uses: ./.github/workflows/client-production-build.yml
secrets: inherit
Expand Down
50 changes: 25 additions & 25 deletions .github/workflows/client-pr.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: "Client CI"
name: "Client - PR"

on:
push:
pull_request_target:
branches: [dev, main, feature/add-map-page]
# paths:
# - "app/client/**"
paths:
- "app/client/**"
merge_group:
workflow_dispatch:

Expand All @@ -18,27 +18,27 @@ concurrency:


jobs:
# files-changed:
# name: detect-changes
# runs-on: ubuntu-latest
# timeout-minutes: 3
# permissions:
# pull-requests: read
# contents: read
# outputs:
# client-goat: ${{ steps.changes.outputs.client-goat }}
# steps:
# - uses: actions/checkout@v3
# - uses: dorny/paths-filter@v2
# id: changes
# with:
# filters: |
# client-goat:
# - 'app/client/apps/goat/**'
# - 'app/client/packages/**'
# - 'app/client/package.json'
# - 'app/client/pnpm-lock.yaml'
# - 'app/client/.prettier*'
files-changed:
name: detect-changes
runs-on: ubuntu-latest
timeout-minutes: 3
permissions:
pull-requests: read
contents: read
outputs:
client-goat: ${{ steps.changes.outputs.client-goat }}
steps:
- uses: actions/checkout@v3
- uses: dorny/paths-filter@v2
id: changes
with:
filters: |
client-goat:
- 'app/client/apps/goat/**'
- 'app/client/packages/**'
- 'app/client/package.json'
- 'app/client/pnpm-lock.yaml'
- 'app/client/.prettier*'
typecheck:
name: typecheck
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/client-production-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ defaults:

jobs:
build:
name: Build
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
Expand Down
2 changes: 0 additions & 2 deletions app/client/apps/goat/next-i18next.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
const path = require("path");

/** @type {import("next-i18next").UserConfig} */
const config = {
i18n: {
Expand Down
1 change: 1 addition & 0 deletions app/client/turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
}
},
"globalEnv": [
"ANALYZE",
"NEXT_PUBLIC_APP_URL",
"NEXT_PUBLIC_API_URL",
"NEXT_PUBLIC_MAP_TOKEN",
Expand Down

0 comments on commit 95960a4

Please sign in to comment.