Skip to content

fix(deps): update dependency framer-motion to v11.2.3 #2169

fix(deps): update dependency framer-motion to v11.2.3

fix(deps): update dependency framer-motion to v11.2.3 #2169

Workflow file for this run

name: Build Check
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened]
workflow_dispatch:
jobs:
lint:
name: Lint
uses: raisedadead/portfolio/.github/workflows/lint.yml@main
test:
name: Test
uses: raisedadead/portfolio/.github/workflows/test.yml@main
# This job is a quick sanity check to ensure that the build is working.
# This can be expanded to include e2e testing later.
build:
name: Build (Normal)
runs-on: ubuntu-latest
needs: [test] # Dont need to depend on lint because it is already in turbo:build pipeline
env:
CI: true
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
strategy:
matrix:
node-version: [20.x]
steps:
- name: Checkout
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4
with:
node-version: ${{ matrix.node-version }}
- name: Install pnpm
uses: pnpm/action-setup@v2
id: pnpm-install
with:
version: 8
run_install: false
- name: Get pnpm store directory
id: pnpm-cache
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
- name: Cache
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4
with:
# See here for caching with `yarn` https://github.com/actions/cache/blob/main/examples.md#node---yarn or you can leverage caching with actions/setup-node https://github.com/actions/setup-node
path: |
${{ steps.pnpm-cache.outputs.STORE_PATH }}
${{ github.workspace }}/.next
${{ github.workspace }}/.turbo
${{ github.workspace }}/.vercel
${{ github.workspace }}/.vercel
# Generate a new cache whenever packages or source files change.
key: ${{ runner.os }}-nextjs-${{ hashFiles('**/pnpm-lock.yaml') }}-${{ hashFiles('**.[jt]s', '**.[jt]sx') }}
# If source files changed but packages didn't, rebuild from a prior cache.
restore-keys: |
${{ runner.os }}-nextjs-${{ hashFiles('**/pnpm-lock.yaml') }}-
- name: Install dependencies
run: |
pnpm install
- name: Build (Normal)
run: |
pnpm turbo:build
build-for-edge:
name: Build (for Edge)
runs-on: ubuntu-latest
needs: [test] # Dont need to depend on lint because it is already in turbo:build pipeline
env:
CI: true
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
strategy:
matrix:
node-version: [20.x]
steps:
- name: Checkout
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4
with:
node-version: ${{ matrix.node-version }}
- name: Install pnpm
uses: pnpm/action-setup@v2
id: pnpm-install
with:
version: 8
run_install: false
- name: Get pnpm store directory
id: pnpm-cache
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
- name: Cache
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4
with:
# See here for caching with `yarn` https://github.com/actions/cache/blob/main/examples.md#node---yarn or you can leverage caching with actions/setup-node https://github.com/actions/setup-node
path: |
${{ steps.pnpm-cache.outputs.STORE_PATH }}
${{ github.workspace }}/.next
${{ github.workspace }}/.turbo
${{ github.workspace }}/.vercel
${{ github.workspace }}/.vercel
# Generate a new cache whenever packages or source files change.
key: ${{ runner.os }}-nextjs-${{ hashFiles('**/pnpm-lock.yaml') }}-${{ hashFiles('**.[jt]s', '**.[jt]sx') }}
# If source files changed but packages didn't, rebuild from a prior cache.
restore-keys: |
${{ runner.os }}-nextjs-${{ hashFiles('**/pnpm-lock.yaml') }}-
- name: Install dependencies
run: |
pnpm install
- name: Build (for Cloudflare Pages)
run: |
pnpm turbo:build:for-edge
- name: Tar Files
run: tar -cf build-for-edge.tar .vercel/output/static
- name: Upload build artifacts
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4
with:
name: build-for-edge
path: build-for-edge.tar