From 86b9b48e86e1c3d6e89b931ae8c8ce515c07b866 Mon Sep 17 00:00:00 2001 From: zomars Date: Tue, 21 Feb 2023 13:58:35 -0700 Subject: [PATCH] Fixes? --- .github/workflows/e2e.yml | 2 +- .github/workflows/nextjs-bundle-analysis.yml | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index e5dd16d0e4..a15e584f0e 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -14,7 +14,7 @@ jobs: GOOGLE_API_CREDENTIALS: ${{ secrets.CI_GOOGLE_API_CREDENTIALS }} GOOGLE_LOGIN_ENABLED: true # CRON_API_KEY: xxx - CALENDSO_ENCRYPTION_KEY: ${{ secrets.CI_CALENDSO_ENCRYPTION_KEY }} + CALENDSO_ENCRYPTION_KEY: 79GVSsl2tJR6x8IZkL0yfWs1XVxDu965 DAILY_API_KEY: ${{ secrets.CI_DAILY_API_KEY }} NEXT_PUBLIC_STRIPE_PUBLIC_KEY: ${{ secrets.CI_NEXT_PUBLIC_STRIPE_PUBLIC_KEY }} NEXT_PUBLIC_STRIPE_FREE_PLAN_PRICE: ${{ secrets.CI_NEXT_PUBLIC_STRIPE_FREE_PLAN_PRICE }} diff --git a/.github/workflows/nextjs-bundle-analysis.yml b/.github/workflows/nextjs-bundle-analysis.yml index 65e6f2e856..27fd9d597e 100644 --- a/.github/workflows/nextjs-bundle-analysis.yml +++ b/.github/workflows/nextjs-bundle-analysis.yml @@ -3,10 +3,6 @@ name: "Next.js Bundle Analysis" on: workflow_call: -defaults: - run: - working-directory: apps/web/ - jobs: analyze: runs-on: ubuntu-latest @@ -16,9 +12,10 @@ jobs: - uses: ./.github/actions/dangerous-git-checkout - uses: ./.github/actions/yarn-install - uses: ./.github/actions/cache-build - - run: cd apps/web/ - name: Analyze bundle - run: npx -p nextjs-bundle-analysis report + run: | + cd apps/web + npx -p nextjs-bundle-analysis report - name: Upload bundle uses: actions/upload-artifact@v2 @@ -49,12 +46,15 @@ jobs: # entry in your package.json file. - name: Compare with base branch bundle if: success() && github.event.number - run: ls -laR .next/analyze/base && npx -p nextjs-bundle-analysis compare + run: | + cd apps/web + ls -laR .next/analyze/base && npx -p nextjs-bundle-analysis compare - name: Get comment body id: get-comment-body if: success() && github.event.number run: | + cd apps/web body=$(cat .next/analyze/__bundle_analysis_comment.txt) body="${body//'%'/'%25'}" body="${body//$'\n'/'%0A'}"