Skip to content

fix(deps): update dependency openai to v4.51.0 #1383

fix(deps): update dependency openai to v4.51.0

fix(deps): update dependency openai to v4.51.0 #1383

Workflow file for this run

name: Validate app
on:
pull_request:
branches:
- main
- develop
paths:
- .github/workflows/validate-app.yml
- app/**
jobs:
lint:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4.1.3
- uses: actions/setup-node@v4.0.2
with:
node-version-file: "app/.nvmrc"
- uses: actions/cache@v4.0.2
id: node-modules-cache
with:
path: app/node_modules
key: ${{ runner.os }}-${{ hashFiles('app/.nvmrc', 'app/package-lock.json', 'app/prisma/prisma.schema') }}
- name: Install dependencies
run: npm ci
working-directory: app
if: steps.node-modules-cache.outputs.cache-hit != 'true'
- name: Lint
run: npm run lint
working-directory: app
continue-on-error: true
env:
DATABASE_URL: "mysql://foo"
NEXTAUTH_SECRET: "foo"
NEXTAUTH_URL: "https://foo"
DISCORD_CLIENT_ID: "foo"
DISCORD_CLIENT_SECRET: "foo"
DISCORD_GUILD_ID: "foo"
DISCORD_TOKEN: "foo"
NEXT_PUBLIC_ALGOLIA_APP_ID: "foo"
ALGOLIA_ADMIN_API_KEY: "foo"
NEXT_PUBLIC_ALGOLIA_SEARCH_API_KEY: "foo"
R2_ACCOUNT_ID: "foo"
R2_ACCESS_KEY_ID: "foo"
R2_SECRET_ACCESS_KEY: "foo"
R2_BUCKET_NAME: "foo"
NEXT_PUBLIC_R2_PUBLIC_URL: "foo"
UNLEASH_SERVER_API_URL: "https://foo"
UNLEASH_SERVER_API_TOKEN: "foo"
prettier:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4.1.3
- uses: actions/setup-node@v4.0.2
with:
node-version-file: "app/.nvmrc"
- uses: actions/cache@v4.0.2
id: node-modules-cache
with:
path: app/node_modules
key: ${{ runner.os }}-${{ hashFiles('app/.nvmrc', 'app/package-lock.json', 'app/prisma/prisma.schema') }}
- name: Install dependencies
run: npm ci
working-directory: app
if: steps.node-modules-cache.outputs.cache-hit != 'true'
- name: Prettier
run: npx prettier --check .
working-directory: app
continue-on-error: true
test:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4.1.3
- uses: actions/setup-node@v4.0.2
with:
node-version-file: "app/.nvmrc"
- uses: actions/cache@v4.0.2
id: node-modules-cache
with:
path: app/node_modules
key: ${{ runner.os }}-${{ hashFiles('app/.nvmrc', 'app/package-lock.json', 'app/prisma/prisma.schema') }}
- name: Install dependencies
run: npm ci
working-directory: app
if: steps.node-modules-cache.outputs.cache-hit != 'true'
- name: Test
run: npm run test
working-directory: app