Skip to content

feat(ci): add GitHub Actions workflow for nightly releases #1

feat(ci): add GitHub Actions workflow for nightly releases

feat(ci): add GitHub Actions workflow for nightly releases #1

Workflow file for this run

name: Test
on:
push:
branches:
- 'main'
paths-ignore:
- '**.md'
pull_request:
jobs:
release-nightly:
if: github.repository_owner == 'dipakparmar'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 #v4.2.2
- name: Install pnpm
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda #v4.1.0
- name: Set node version to 20
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e #v4.3.0
with:
cache: 'pnpm'
- name: Install deps
run: pnpm install
- name: Build
run: pnpm run build
- name: 📦 release pkg.pr.new
run: pnpm pkg-pr-new publish --compact