Skip to content

Upgrade next-admin to 3.2.5 (#110) #270

Upgrade next-admin to 3.2.5 (#110)

Upgrade next-admin to 3.2.5 (#110) #270

Workflow file for this run

name: 'run tests'
on:
push:
branches:
- web-v2
- main
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18
- name: 'Create env file'
run: |
touch .env
echo NEXTAUTH_SECRET="RANDOMEKEY" >> .env
echo JWT_SECRET="RANDOMEKEY" >> .env
echo OPENAI_API_KEY="RANDOMEKEY" >> .env
echo SKIP_SITEMAP_GENERATION="true" >> .env
cat .env
- name: Install dependencies
run: yarn install
- name: Run tests
run: yarn test:build
- name: Run build
run: yarn build