Skip to content

Commit

Permalink
chore(git): add pkg-pr-new
Browse files Browse the repository at this point in the history
  • Loading branch information
adrienZ authored Sep 15, 2024
1 parent 194df2b commit ac4aed2
Show file tree
Hide file tree
Showing 3 changed files with 309 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 prepack

- 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 @@ -62,6 +62,7 @@
"hookable": "^5.5.3",
"nuxt": "^3.13.1",
"nuxt-auth-utils": "^0.3.7",
"pkg-pr-new": "^0.0.24",
"typescript": "latest",
"vitest": "^2.0.5",
"vue-tsc": "^2.1.6"
Expand Down
Loading

0 comments on commit ac4aed2

Please sign in to comment.