fix: delete init.cache rather than assign undefined #323
Workflow file for this run
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: Publish prereleases | |
on: | |
push: | |
branches: [main, experimental] | |
pull_request: | |
branches: [main, experimental] | |
jobs: | |
release: | |
if: ${{ github.repository_owner == 'opennextjs' }} | |
name: Publish builder package | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Install Dependencies | |
uses: ./.github/actions/install-dependencies | |
- name: Build | |
run: pnpm -F cloudflare run build | |
- name: Publish to NPM | |
run: pnpm exec pkg-pr-new publish --pnpm --compact './packages/cloudflare' |