feat: use native plugin for create id resolver (#68) #113
This file contains 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 release | |
env: | |
# install playwright binary manually (because pnpm only runs install script once) | |
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: "1" | |
permissions: | |
pull-requests: write | |
on: | |
push: | |
branches: | |
- rolldown-v6 | |
pull_request: | |
types: [opened, synchronize, labeled] | |
jobs: | |
preview: | |
if: > | |
github.repository == 'rolldown/vite' && | |
(github.event_name == 'push' || | |
(github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'trigger: preview'))) | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install pnpm | |
uses: pnpm/[email protected] | |
- name: Install dependencies | |
run: pnpm install | |
- name: Build | |
working-directory: ./packages/vite | |
run: pnpm build | |
- run: pnpm dlx [email protected] publish --pnpm ./packages/vite |