Skip to content

refactor: code cleanup #335

refactor: code cleanup

refactor: code cleanup #335

Workflow file for this run

name: Pre-release
on:
pull_request:
branches: [main, experimental]
paths:
- packages/open-next/**
push:
branches: [main, experimental]
paths:
- packages/open-next/**
jobs:
release:
name: Pre-release
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
# https://github.com/actions/checkout
uses: actions/checkout@v4
# Setup .npmrc file to publish to npm
- uses: actions/setup-node@v4
with:
registry-url: "https://registry.npmjs.org"
- uses: ./.github/actions/pnpm-setup
- name: Install dependencies
run: pnpm install
- name: Build package
run: pnpm -F @opennextjs/aws build
- name: Publish prerelease
run: pnpm exec pkg-pr-new publish --pnpm --compact './packages/open-next'