Skip to content

Commit

Permalink
Merge pull request #334 from Aslemammad/feat/pkg.pr.new
Browse files Browse the repository at this point in the history
feat: continuous releases with pkg.pr.new
  • Loading branch information
nksaraf committed Jul 16, 2024
2 parents 0883a4d + a4a7012 commit e166524
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/cr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Continuous Releases

on:
push:
branches:
- main
- dev
- release-*
tags-ignore:
- v*
paths-ignore:
- "examples/**"
- "**/README.md"
pull_request:
paths-ignore:
- "examples/**"
- "**/README.md"

jobs:
cr:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- uses: pnpm/action-setup@v4
with:
version: 8

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "pnpm"
- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Build start
run: pnpm run build && pnpm run types

- name: Release
run: pnpm dlx pkg-pr-new@0.0 publish './packages/*' --template './examples/*' --compact

0 comments on commit e166524

Please sign in to comment.