fix: Fixed an issue where isFolder returns incorrect values for lea…
#266
This file contains hidden or 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: Docs | |
| on: | |
| push: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| pages: write | |
| deployments: write | |
| id-token: write | |
| jobs: | |
| docs: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - uses: actions/cache@v3 | |
| with: | |
| path: | | |
| **/node_modules | |
| ./.yarn/cache | |
| key: ${{ runner.os }}-deps-${{ hashFiles('**/yarn.lock') }} | |
| - uses: volta-cli/[email protected] | |
| - run: yarn | |
| - run: yarn lint:test | |
| - run: yarn build:core | |
| - run: yarn build:sb | |
| - run: yarn llmtxt | |
| - run: yarn build:web | |
| - run: | | |
| mkdir -p ./packages/docs/build/storybook | |
| cp -r ./packages/sb-react/storybook-static ./packages/docs/build/storybook/react | |
| - uses: actions/upload-pages-artifact@v3 | |
| with: | |
| path: ./packages/docs/build | |
| - uses: actions/deploy-pages@v4 |