feat(parser): make cjkEmphasis pair runs against CJK punctuation (#54… #639
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: Deploy | |
| on: | |
| push: | |
| branches: [main] | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: pages | |
| cancel-in-progress: false | |
| jobs: | |
| build: | |
| runs-on: blacksmith-32vcpu-ubuntu-2404 | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| with: | |
| persist-credentials: false | |
| - name: Install Rust | |
| uses: dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8 # stable | |
| - name: Setup Vite+ | |
| uses: voidzero-dev/setup-vp@250f29ce396baf5e8f24498e17c0dfdebabc26eb # v1 | |
| with: | |
| node-version-file: ".node-version" | |
| cache: true | |
| run-install: true | |
| - name: Mount sticky cache | |
| uses: ./.github/actions/mount-sticky-cache | |
| with: | |
| key-prefix: ${{ github.repository }}-deploy-${{ github.job }} | |
| cargo: "true" | |
| target: target | |
| browsers: "true" | |
| - name: Install browsers for docs rendering | |
| run: | | |
| vp exec --filter @ox-content/vite-plugin -- playwright install --with-deps chromium | |
| vp exec --filter @ox-content/vite-plugin -- puppeteer browsers install chrome-headless-shell | |
| - name: Build | |
| run: vp build | |
| - name: Prepare deployment directory | |
| run: | | |
| mkdir -p dist | |
| # Copy docs site to root | |
| cp -r docs/dist/docs/* dist/ | |
| # Copy Rust API docs | |
| cp -r target/doc dist/api | |
| # Copy playground | |
| cp -r examples/playground/dist dist/playground | |
| # Add .nojekyll | |
| touch dist/.nojekyll | |
| - name: Setup Pages | |
| uses: actions/configure-pages@45bfe0192ca1faeb007ade9deae92b16b8254a0d # v6.0.0 | |
| - name: Upload artifact | |
| uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5.0.0 | |
| with: | |
| path: dist | |
| deploy: | |
| environment: | |
| name: github-pages | |
| url: ${{ steps.deployment.outputs.page_url }} | |
| runs-on: blacksmith-32vcpu-ubuntu-2404 | |
| needs: build | |
| permissions: | |
| pages: write | |
| id-token: write | |
| steps: | |
| - name: Deploy to GitHub Pages | |
| id: deployment | |
| uses: actions/deploy-pages@cd2ce8fcbc39b97be8ca5fce6e763baed58fa128 # v5.0.0 |