Skip to content

Bump @types/react from 18.2.66 to 18.2.75 in /nextjs #2873

Bump @types/react from 18.2.66 to 18.2.75 in /nextjs

Bump @types/react from 18.2.66 to 18.2.75 in /nextjs #2873

Workflow file for this run

name: Nextjs CI
on: [push, pull_request, workflow_dispatch]
defaults:
run:
working-directory: nextjs
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: npm ci
- run: npm run build
deploy:
if: github.actor != 'dependabot[bot]' && github.ref != 'refs/heads/main'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: |
mkdir .vercel
echo $VERCEL_PROJECT > .vercel/project.json
npx vercel --token $VERCEL_TOKEN
env:
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
VERCEL_PROJECT: ${{ secrets.VERCEL_PROJECT }}
deployToProduction:
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: |
mkdir .vercel
echo $VERCEL_PROJECT > .vercel/project.json
npx vercel --prod --token $VERCEL_TOKEN
env:
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
VERCEL_PROJECT: ${{ secrets.VERCEL_PROJECT }}
forceDeploy:
if: github.event_name == 'workflow_dispatch'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: |
mkdir .vercel
echo $VERCEL_PROJECT > .vercel/project.json
npx vercel --force --token $VERCEL_TOKEN
env:
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
VERCEL_PROJECT: ${{ secrets.VERCEL_PROJECT }}