Skip to content

Commit

Permalink
pkg-pr
Browse files Browse the repository at this point in the history
  • Loading branch information
adrienZ committed Sep 14, 2024
1 parent 3dfc434 commit 48e718c
Show file tree
Hide file tree
Showing 3 changed files with 336 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/pkg-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Publish Any Commit

on:
push:
branches:
- '**'
tags:
- '!**'
pull_request:

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Enable Corepack
run: corepack enable

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: "pnpm"

- name: Install dependencies
run: pnpm install

- name: Build
run: pnpm build

- name: Publish
run: pnpx pkg-pr-new publish
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"@biomejs/biome": "^1.9.0",
"@vitest/coverage-v8": "^2.1.1",
"db0": "^0.1.4",
"pkg-pr-new": "^0.0.24",
"tsup": "^8.2.4",
"typescript": "^5.6.2",
"vitest": "^2.1.1"
Expand Down
Loading

0 comments on commit 48e718c

Please sign in to comment.