Skip to content

Merge pull request #98 from AIBoX-dev/dependabot/npm_and_yarn/next-13… #160

Merge pull request #98 from AIBoX-dev/dependabot/npm_and_yarn/next-13…

Merge pull request #98 from AIBoX-dev/dependabot/npm_and_yarn/next-13… #160

Workflow file for this run

name: Build Test
on:
workflow_dispatch:
push:
branches:
- dev
- main
- tailwind
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: setup-node
uses: actions/setup-node@v3
with:
node-version: 18
- uses: pnpm/action-setup@v2
with:
version: 8
- run: pnpm i --frozen-lockfile
- name: Build Next.js application
run: |
touch .env.local
echo "NEXT_PUBLIC_SUPABASE_ANON_KEY=${{ secrets.NEXT_PUBLIC_SUPABASE_ANON_KEY }}" >> .env.local
echo "NEXT_PUBLIC_SUPABASE_PROJECT_URL=${{ secrets.NEXT_PUBLIC_SUPABASE_PROJECT_URL }}" >> .env.local
echo "NEXT_PUBLIC_TURNSTILE_SITE_KEY"= ${{ secrets.NEXT_PUBLIC_TURNSTILE_SITE_KEY }} >> .env.local
pnpm run build
- name: Actions Status Discord
uses: sarisia/[email protected]
if: always()
with:
webhook: ${{ secrets.DISCORD_WEBHOOK }}