This repository has been archived on 2022-10-07. You can view files and clone it, but cannot push or open issues or pull requests.
2022-02-17 12:11:54 +00:00
|
|
|
name: Build Storybook - packages/dashboard-v2
|
2022-02-18 12:56:59 +00:00
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
paths:
|
|
|
|
- "packages/dashboard-v2/**"
|
|
|
|
pull_request:
|
|
|
|
paths:
|
|
|
|
- "packages/dashboard-v2/**"
|
2022-02-17 12:11:54 +00:00
|
|
|
|
|
|
|
defaults:
|
|
|
|
run:
|
|
|
|
working-directory: packages/dashboard-v2
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
publish:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: actions/setup-node@v2
|
|
|
|
with:
|
|
|
|
node-version: 16.x
|
|
|
|
- run: yarn install
|
|
|
|
- run: yarn build-storybook
|
|
|
|
- name: "Deploy to Skynet"
|
|
|
|
uses: skynetlabs/deploy-to-skynet-action@v2
|
|
|
|
with:
|
|
|
|
upload-dir: packages/dashboard-v2/storybook-build
|
|
|
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|