chore(luna): add storybook deps #7
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: Deploy | |
on: | |
push: | |
branches: ["master"] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "20.11.1" | |
- name: Enable Yarn | |
run: corepack enable | |
- name: Install dependencies | |
run: yarn | |
- name: Build types | |
run: yarn build:types | |
- name: Build Atlas (API SDK) | |
run: yarn build:atlas | |
- name: Build Luna (Design System & Storybooks) | |
run: yarn build:luna | |
# Orbit Deployment | |
- name: Pull Orbit from Vercel | |
run: yarn vercel:ci pull "orbit" "orbit/" --token=${{ secrets.VERCEL_TOKEN }} | |
- name: Build Orbit using Vercel | |
run: yarn build:orbit:vercel | |
- name: Deploy Orbit to Vercel | |
run: yarn deploy:orbit:vercel --token=${{ secrets.VERCEL_TOKEN }} | |
# Nova Deployment | |
- name: Pull Nova from Vercel | |
run: yarn vercel:ci pull "nova" "nova/" --token=${{ secrets.VERCEL_TOKEN }} | |
- name: Build Nova using Vercel | |
run: yarn build:nova:vercel | |
- name: Deploy Nova to Vercel | |
run: yarn deploy:nova:vercel --token=${{ secrets.VERCEL_TOKEN }} | |
# Luna Deployment | |
- name: Pull Luna from Vercel | |
run: yarn vercel:ci pull "luna" "luna/" --token=${{ secrets.VERCEL_TOKEN }} | |
- name: Build Luna using Vercel | |
run: yarn build:luna:vercel | |
- name: Deploy Luna to Vercel | |
run: yarn deploy:luna:vercel --token=${{ secrets.VERCEL_TOKEN }} |