Skip to content

vite tries to resolve dependencies despite they're marked as external #55

vite tries to resolve dependencies despite they're marked as external

vite tries to resolve dependencies despite they're marked as external #55

name: Publish Any Commit
env:
# install playwright binary manually (because pnpm only runs install script once)
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: "1"
on:
push:
branches:
- main
- v6/environment-api
issue_comment:
types: [created]
jobs:
build:
if: github.repository == 'vitejs/vite' && (github.event_name == 'push' || github.event.issue.pull_request && startsWith(github.event.comment.body, '/pkg-pr-new'))
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- 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 --compact --pnpm ./packages/vite