Skip to content

Bump @types/node from 20.14.2 to 20.14.7 #2599

Bump @types/node from 20.14.2 to 20.14.7

Bump @types/node from 20.14.2 to 20.14.7 #2599

Workflow file for this run

name: Build Next.js Site
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Create .env with Github Secrets
run: |
touch .env
echo NEXT_PUBLIC_SUPABASE_URL=$ENV_VAR_1 >> .env
echo NEXT_PUBLIC_SUPABASE_ANON_KEY=$ENV_VAR_2 >> .env
echo SUPABASE_SERVICE_ROLE_KEY=$ENV_VAR_3 >> .env
echo OPENAI_API_KEY=$ENV_VAR_4 >> .env
env:
ENV_VAR_1: ${{ secrets.NEXT_PUBLIC_SUPABASE_URL }}
ENV_VAR_2: ${{ secrets.NEXT_PUBLIC_SUPABASE_ANON_KEY }}
ENV_VAR_3: ${{ secrets.SUPABASE_SERVICE_ROLE_KEY }}
ENV_VAR_4: ${{ secrets.OPENAI_API_KEY }}
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 18.x
- name: Install dependencies
run: npm install
- name: Build
run: npm run build