perf: prefer to use native magic-string #302
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: Unplugin Example | |
| on: | |
| push: | |
| branches: [main] | |
| jobs: | |
| gh-pages: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Setup JS | |
| uses: sxzz/workflows/setup-js@v1 | |
| - name: Build | |
| run: pnpm build | |
| - name: Install Example Dependencies & Build | |
| run: pnpm -C examples/vite run build | |
| - name: Deploy | |
| uses: peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4.0.0 | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| publish_dir: ./examples/vite/dist | |
| force_orphan: true |