Skip to content

migrate to turborepo #28

migrate to turborepo

migrate to turborepo #28

Workflow file for this run

name: CI
on:
push:
branches: ["main"]
pull_request:
types: [opened, synchronize]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 2
- uses: pnpm/action-setup@v2
with:
version: 8
- name: Use Node.js 20
uses: actions/setup-node@v3
with:
node-version: 20
cache: "pnpm"
- name: Install dependencies
run: pnpm install
- name: Build all
run: pnpm build
env:
PAYLOAD_DATABASE_URL: ${{ secrets.PAYLOAD_DATABASE_URL }}
PAYLOAD_SECRET: ${{ secrets.PAYLOAD_SECRET }}
PAYLOAD_REVALIDATION_KEY: ${{ secrets.PAYLOAD_REVALIDATION_KEY }}
PAYLOAD_PORT: ${{ secrets.PAYLOAD_PORT }}
NEXT_REVALIDATION_KEY: ${{ secrets.NEXT_REVALIDATION_KEY }}
PUBLIC_FRONTEND_URL: ${{ vars.PUBLIC_FRONTEND_URL }}
PUBLIC_SERVER_URL: ${{ vars.PUBLIC_SERVER_URL }}