Fix import fully qualified (with .js) thanks! @brianzinn #37
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: make_gh_pages | |
on: | |
push: | |
branches: [ master ] | |
workflow_dispatch: | |
jobs: | |
make_storybook: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '18.x' | |
registry-url: 'https://registry.npmjs.org' | |
scope: brianzinn | |
# if you add loader src/codesandbox-templates large files will OOM | |
# - name: Set Swap Space | |
# if: runner.os == 'Linux' | |
# uses: pierotofy/set-swap-space@v1.0 | |
# with: | |
# swap-size-gb: 4 | |
- name: install build react-babylon | |
env: | |
NODE_OPTIONS: "--max_old_space_size=4096" | |
run: | | |
npm install -g yarn | |
yarn install | |
yarn build | |
- name: deploy | |
uses: JamesIves/github-pages-deploy-action@4.1.5 | |
with: | |
branch: gh-pages | |
folder: packages/static/public |