Skip to content

fix: pathJoin reference #63

fix: pathJoin reference

fix: pathJoin reference #63

Workflow file for this run

name: Main
on: push
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/[email protected]
with:
persist-credentials: false
- uses: volta-cli/action@v3
- name: Install and Build 🔧
run: | # Install npm packages and build the Storybook files
yarn
yarn test
yarn prettier:check
yarn build
yarn copy-readme
yarn build-doc
CI=false yarn build-demo
mkdir -p ./out/docs
mv ./packages/core/docs/index.html ./packages/core/docs/index.htm
mv ./packages/demo/app/index.html ./packages/demo/app/index.htm
mv ./packages/core/docs/ ./out/
mv ./packages/demo/app/* ./out/
- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: out
CLEAN: true
SINGLE_COMMIT: true
# TARGET_FOLDER: docs # The folder that we serve our Storybook files