Skip to content

[cli] Add chache with turbo on deploy #4

[cli] Add chache with turbo on deploy

[cli] Add chache with turbo on deploy #4

Workflow file for this run

name: Deploy docs
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 16
cache: "npm"
cache-dependency-path: "**/package-lock.json"
- run: npm ci
- run: npm run build
env:
TURBO_TOKEN: 0Zud9K2pnkQn57PS0ZgQg1Xa
TURBO_TEAM:
- name: Deploy storybook
working-directory: ./packages/docs
run: npm run deploy-storybook -- --ci --existing-output-dir=storybook-static
env:
GH_TOKEN: ${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}