chore: pkg.pr.new action

This commit is contained in:
MARCROCK22 2024-09-01 04:55:43 +00:00
parent 6817eb44f3
commit 93a2ff6c33

24
.github/workflows/pkg.yml vendored Normal file
View File

@ -0,0 +1,24 @@
name: Publish Any Commit
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: 20
cache: "pnpm"
- name: Install dependencies
run: pnpm install
- name: Build
run: pnpm build
- run: pnpx pkg-pr-new publish