Skip to content

Commit

Permalink
Merge pull request #13 from charlie-tango/fix/publish-pkg-pr
Browse files Browse the repository at this point in the history
  • Loading branch information
thebuilder authored Nov 7, 2024
2 parents 17c61c2 + a22d84d commit 461b968
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/pkg-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Publish Pull Requests
on: [push, pull_request]

jobs:
pr-package:
runs-on: ubuntu-latest
steps:
- run: corepack enable
- uses: actions/checkout@v4
- 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 preview package
run: pnpx pkg-pr-new publish --no-template

0 comments on commit 461b968

Please sign in to comment.