feat(cli): Node + browser CLI, exit command, Node export, BDD for both #10
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
| # Deploy demo app to GitHub Pages (https://<owner>.github.io/tb-solid-pod/) | |
| # Repo Settings → Pages: set "Deploy from a branch", branch gh-pages, folder / (root). | |
| name: Deploy to GitHub Pages | |
| on: | |
| push: | |
| branches: [main] | |
| permissions: | |
| contents: write # push to gh-pages branch | |
| jobs: | |
| build-and-deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version-file: ".nvmrc" | |
| cache: "npm" | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Generate JSON Schemas | |
| run: npm run generate:schemas | |
| - name: Build | |
| env: | |
| BASE_PATH: "/tb-solid-pod/" | |
| run: npm run build | |
| - name: Deploy to gh-pages | |
| uses: peaceiris/actions-gh-pages@v4 | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| publish_dir: ./dist |