-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
17 additions
and
34 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -143,7 +143,7 @@ jobs: | |
run: pnpm test:e2e | ||
|
||
build: | ||
name: 🏗️ Build apps | ||
name: 🏗️ Build | ||
needs: [changes] | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
@@ -164,8 +164,14 @@ jobs: | |
- name: 📥 Install Dependencies | ||
run: pnpm install | ||
|
||
- name: 🏗️ Build apps | ||
run: pnpm build:apps | ||
- name: 🏗️ Build | ||
run: pnpm build | ||
|
||
- uses: actions/upload-artifact@v3 | ||
if: needs.changes.outputs.docs == 'true' | ||
with: | ||
name: docs-artifacts | ||
path: ./apps/docs/build | ||
|
||
deploy-nestjs: | ||
name: 🐯 Deploy NestJS App | ||
|
@@ -217,22 +223,10 @@ jobs: | |
with: | ||
fetch-depth: 0 | ||
|
||
- name: Setup pnpm | ||
uses: pnpm/[email protected] | ||
- name: Download docs artifacts | ||
uses: actions/download-artifact@v3 | ||
with: | ||
version: 8 | ||
|
||
- name: Set up Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
cache: pnpm | ||
|
||
- name: 📥 Install Dependencies | ||
run: pnpm install | ||
|
||
- name: 🏗️ Build | ||
run: pnpm build:docs | ||
name: docs-artifacts | ||
|
||
- name: 🚀 Deploy to Chromatic | ||
uses: chromaui/action@v1 | ||
|
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