fix(dom): set Event.target in simulate* methods in src/client/dom/ele… #128
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 Website to GitHub Pages | |
| on: | |
| push: | |
| branches: ["main"] | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| deployments: write | |
| pages: write | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| with: | |
| # Fetch full history for accurate deployment | |
| fetch-depth: 0 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '18' | |
| cache: 'npm' | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Build documentation artifacts | |
| env: | |
| GTAG: ${{ secrets.GTAG }} | |
| run: | | |
| npm run build:website | |
| - name: Deploy to GitHub Pages | |
| uses: peaceiris/actions-gh-pages@v3 | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| publish_dir: ./docs/.vitepress/dist | |
| # Overwrite gh-pages branch contents completely | |
| force_orphan: true | |
| # Keep CNAME file if it exists | |
| keep_files: false | |
| # Add commit message for deployment | |
| commit_message: 'Deploy docs from ${{ github.sha }}' |