fix(apps/cli): resolve issues with publish command, init command, and boilerplate files #3345
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build projects | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
Build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
- name: Checkout Repository | |
uses: actions/checkout@v3 | |
- name: Install modules | |
uses: pnpm/action-setup@v4 | |
with: | |
run_install: | | |
- recursive: true | |
args: [--frozen-lockfile, --strict-peer-dependencies] | |
- name: Build projects | |
run: pnpm build | |
env: | |
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY: 'pk_test_c3VtbWFyeS13YWxydXMtMjUuY2xlcmsuYWNjb3VudHMuZGV2JA' | |
NEXT_PUBLIC_API_URL: 'http://localhost:8081' | |
NEXT_PUBLIC_AI_API_URL: 'http://localhost:8081' | |
NEXT_PUBLIC_AUTH_API_URL: 'http://localhost:8080' | |
NEXT_PUBLIC_WS_URL: 'ws://localhost:8000' | |
HUBSPOT_CONTACT_FORM_ID: ${{ secrets.HUBSPOT_CONTACT_FORM_ID }} | |
HUBSPOT_JOB_FORM_ID: ${{ secrets.HUBSPOT_JOB_FORM_ID }} | |
HUBSPOT_NEWSLETTER_FORM_ID: ${{ secrets.HUBSPOT_NEWSLETTER_FORM_ID }} | |
HUBSPOT_PORTAL_ID: ${{ secrets.HUBSPOT_PORTAL_ID }} | |
NEXT_PUBLIC_BASE_URL: 'https://codemod.com' | |
NEXT_PUBLIC_CODEMOD_AUTOMATIONS_LIST_ENDPOINT: 'https://backend.codemod.com/codemods' | |
NEXT_PUBLIC_SANITY_DATASET: 'production' | |
NEXT_PUBLIC_SANITY_PROJECT_ID: ${{ secrets.NEXT_PUBLIC_SANITY_PROJECT_ID }} | |
NX_DAEMON: '' | |
SANITY_API_TOKEN: ${{ secrets.SANITY_API_TOKEN }} | |
SANITY_API_WRITE_TOKEN: ${{ secrets.SANITY_API_WRITE_TOKEN }} | |
VERCEL: '1' | |
VERCEL_ENV: 'development' | |
VERCEL_GIT_COMMIT_AUTHOR_LOGIN: '' | |
VERCEL_GIT_COMMIT_AUTHOR_NAME: '' | |
VERCEL_GIT_COMMIT_MESSAGE: '' | |
VERCEL_GIT_COMMIT_REF: '' | |
VERCEL_GIT_COMMIT_SHA: '' | |
VERCEL_GIT_PREVIOUS_SHA: '' | |
VERCEL_GIT_PROVIDER: '' | |
VERCEL_GIT_PULL_REQUEST_ID: '' | |
VERCEL_GIT_REPO_ID: '' | |
VERCEL_GIT_REPO_OWNER: '' | |
VERCEL_GIT_REPO_SLUG: '' | |
VERCEL_URL: '' |