Skip to content

fix(deps): update dependency eta to v2 [security] #1938

fix(deps): update dependency eta to v2 [security]

fix(deps): update dependency eta to v2 [security] #1938

name: 'Next.js Bundle Analysis'
on:
pull_request:
push:
branches:
- main
- prod
workflow_dispatch:
jobs:
analyze:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3
with:
fetch-depth: 2
- name: Set up node
uses: actions/setup-node@v3
with:
node-version: '20.x'
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: ^8.14.0
run_install: false
- name: Get pnpm store directory
id: pnpm-cache
run: |
echo "::set-output name=pnpm_cache_dir::$(pnpm store path)"
- uses: actions/cache@v3
name: Setup pnpm cache
with:
path: ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: pnpm install
- name: Build next.js app
run: pnpm build
env:
ANALYZE: true
RELATIVE_CI_KEY: ${{ secrets.RELATIVE_CI_KEY }}
NEXTAUTH_SECRET: ${{ secrets.NEXTAUTH_SECRET }}
NEXTAUTH_URL: ${{ secrets.NEXTAUTH_URL }}
NEXT_PUBLIC_APP_URL: ${{ secrets.NEXT_PUBLIC_APP_URL }}
SUPABASE_URL: ${{ secrets.SUPABASE_URL }}