Skip to content

chore: pkg-pr-new

chore: pkg-pr-new #9

Workflow file for this run

name: pkg-pr-new
"on":
push:
branches:
- main
pull_request:
jobs:
pkg_pr_new:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'yarn'
- name: Install dependencies
run: yarn install --frozen-lockfile
env:
ELECTRON_SKIP_BINARY_DOWNLOAD: "1"
shell: bash
- name: build (experimental)
run: |
RELEASE_CHANNEL=experimental yarn --cwd fixtures/flight-vite build-dep
sed -i 's/"name": "react-server-dom-vite"/"name": "react-server-dom-vite-experimental"/' build/node_modules/react-server-dom-vite/package.json
cp -rf build/node_modules/react-server-dom-vite pkg-react-server-dom-vite-experimental
- name: build (stable)
run: |
RELEASE_CHANNEL=stable yarn --cwd fixtures/flight-vite build-dep
cp -rf build/node_modules/react-server-dom-vite pkg-react-server-dom-vite
- name: pkg-pr-new
run: |
npx pkg-pr-new publish --comment=off \
pkg-react-server-dom-vite \
pkg-react-server-dom-vite-experimental