Skip to content

fix(hot-reload): use cache only in prod (#636) #211

fix(hot-reload): use cache only in prod (#636)

fix(hot-reload): use cache only in prod (#636) #211

name: Publish Any Commit
on:
push:
branches: [canary]
pull_request:
branches: [canary]
jobs:
build:
runs-on: ubuntu-latest
if: ${{ !contains(github.event.head_commit.message, 'docs:') }}
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: "22"
- name: Setup Bun.js
uses: oven-sh/setup-bun@v1
with:
bun-version: 1.1.30
- name: Install dependencies
run: bun install
- name: Install Brisa globally
run: bun i -g brisa
- name: Build project
run: bun run build:all
- name: Publish commits
run: bunx pkg-pr-new publish './packages/*'