chore(deps): bump @types/node from 25.0.8 to 25.0.9 #60
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: Preview Deployment | |
| on: | |
| pull_request: | |
| types: [opened, synchronize, reopened] | |
| jobs: | |
| preview-info: | |
| name: Preview Information | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Comment PR with deployment info | |
| uses: actions/github-script@v7 | |
| with: | |
| script: | | |
| const prNumber = context.issue.number; | |
| const comment = `## 🚀 Preview Deployment | |
| This pull request will be automatically deployed to Vercel. | |
| ### Preview Links | |
| - 📝 **Documentation**: Will be available once Vercel deployment completes | |
| - 🌍 **Languages**: English (\`/en/docs\`) and Chinese (\`/cn/docs\`) | |
| ### Build Status | |
| Check the CI workflow for build status and any errors. | |
| --- | |
| *Automated preview information for PR #${prNumber}*`; | |
| github.rest.issues.createComment({ | |
| issue_number: context.issue.number, | |
| owner: context.repo.owner, | |
| repo: context.repo.repo, | |
| body: comment | |
| }); |